From 874261cfe32083e0792fb861b56ab01d5910cd24 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 15 Mar 2019 13:35:44 -0400 Subject: [PATCH] "60/2 with variable cam location" trigger #707 --- firmware/integration/rusefi_config.txt | 4 ++-- firmware/tunerstudio/rusefi.ini | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 25681c8eb1..b2be325863 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -378,8 +378,8 @@ can_nbc_e canNbcType;set can_mode X int canSleepPeriodMs;CANbus thread period, ms;"ms", 1, 0, 0, 1000.0, 2 -custom operation_mode_e 4 bits, U32, @OFFSET@, [0:2], "INVALID", "4 stroke without cam sensor", "4 stroke with cam sensor", "2 stroke", "4 stroke with symmetrical crank", "INVALID", "INVALID", "INVALID" -operation_mode_e operationMode;See engineCycle\nset operation_mode X +custom operation_mode_e 4 bits, U32, @OFFSET@, [0:2], "INVALID", "4 stroke without cam sensor", "4 stroke with cam sensor", "2 stroke", "4 stroke with symmetrical crank (requires VVT input)", "INVALID", "INVALID", "INVALID" +operation_mode_e operationMode;+'4 stroke with symmetrical crank' is a pretty special case for example on Miata NB2\nSee engineCycle\nset operation_mode X custom display_mode_e 4 bits, U32, @OFFSET@, [0:1], "none", "hd44780", "hd44780 over pcf8574", "INVALID" display_mode_e displayMode; diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index fff48e2f44..f22de5ec12 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -63,7 +63,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Thu Mar 14 13:13:57 EDT 2019 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Fri Mar 15 13:34:07 EDT 2019 pageSize = 20000 page = 1 @@ -167,7 +167,7 @@ page = 1 vehicleSpeedCoef = scalar, F32, 476, "coef", 1, 0, 0.01, 2000.0, 2 canNbcType = bits, U32, 480, [0:1], "BMW", "FIAT", "VAG" , "MAZDA RX8" canSleepPeriodMs = scalar, S32, 484, "ms", 1, 0, 0, 1000.0, 2 - operationMode = bits, U32, 488, [0:2], "INVALID", "4 stroke without cam sensor", "4 stroke with cam sensor", "2 stroke", "4 stroke with symmetrical crank", "INVALID", "INVALID", "INVALID" + operationMode = bits, U32, 488, [0:2], "INVALID", "4 stroke without cam sensor", "4 stroke with cam sensor", "2 stroke", "4 stroke with symmetrical crank (requires VVT input)", "INVALID", "INVALID", "INVALID" displayMode = bits, U32, 492, [0:1], "none", "hd44780", "hd44780 over pcf8574", "INVALID" logFormat = bits, U32, 496, [0:0], "native", "Mega Log Viewer" byFirmwareVersion = scalar, S32, 500, "index", 1, 0, 0, 300, 0 @@ -924,6 +924,7 @@ page = 1 fanOnTemperature = "Cooling fan turn-on temperature threshold, in Celsuis" fanOffTemperature = "Cooling fan turn-off temperature threshold, in Celsuis" vehicleSpeedCoef = "This coefficient translates vehicle speed input frequency (in Hz) into vehicle speed, km/h" + operationMode = "'4 stroke with symmetrical crank' is a pretty special case for example on Miata NB2\nSee engineCycle\nset operation_mode X" trigger_useOnlyFirstChannel = "This option could be used if your second trigger channel is broken" tachOutputPin = "This implementation produces one pulse per engine cycle. See also dizzySparkOutputPin." vvtCamSensorUseRise = "Use rise or fall signal front"