From c4d3bc64d2ce5b6d9737d78bd838812d213a6ccc Mon Sep 17 00:00:00 2001 From: rusEfi Date: Fri, 15 Jul 2016 08:01:45 -0400 Subject: [PATCH] auto-sync --- firmware/config/engines/toyota_jzs147.cpp | 13 +++++++++++++ firmware/rusefi.cpp | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/firmware/config/engines/toyota_jzs147.cpp b/firmware/config/engines/toyota_jzs147.cpp index 6580ad72ad..5499a38ca3 100644 --- a/firmware/config/engines/toyota_jzs147.cpp +++ b/firmware/config/engines/toyota_jzs147.cpp @@ -105,6 +105,19 @@ void setToyota_2jz_vics(DECLARE_ENGINE_PARAMETER_F) { setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR); engineConfiguration->trigger.type = TT_2JZ_3_34; + boardConfiguration->triggerInputPins[0] = GPIOA_5; // crank sensor + boardConfiguration->triggerInputPins[1] = GPIO_UNASSIGNED; // cam sensor will he handled by custom vtti code + + // set_global_trigger_offset_angle 0 + engineConfiguration->globalTriggerAngleOffset = 0; // todo + + engineConfiguration->ignitionMode = IM_WASTED_SPARK; // just for now + engineConfiguration->injectionMode = IM_BATCH; // just for now + engineConfiguration->twoWireBatchIgnition = true; + engineConfiguration->twoWireBatchInjection = true; + + + } diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 2115514af6..7ed893bb42 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -298,5 +298,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20160713; + return 20160715; }