From a63c55e39429b73a4c3a13e2a556b90eebd0b92c Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 24 Jul 2021 19:20:59 -0400 Subject: [PATCH] Clutch switch inverted options do not invert detected pedal position #3044 --- firmware/integration/rusefi_config.txt | 5 ++--- firmware/tunerstudio/rusefi.input | 7 +++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 33011041af..515bab6c9e 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -984,9 +984,8 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:1], @@maf_sensor_type_e_enum@ uint16_t multisparkMaxRpm;+Disable multispark above this engine speed.;"rpm", 1, 0, 0, 3000, 0 uint8_t multisparkMaxSparkingAngle;+This parameter sets the latest that the last multispark can occur after the main ignition event. For example, if the ignition timing is 30 degrees BTDC, and this parameter is set to 45, no multispark will ever be fired after 15 degrees ATDC.;"deg", 1, 0, 0, 60, 0 uint8_t multisparkMaxExtraSparkCount;+Configures the maximum number of extra sparks to fire (does not include main spark);"count", 1, 0, 1, 5, 0 -! do we need those? https://github.com/rusefi/rusefi/issues/3044 - bit todoClutchUpPinInverted - bit todoClutchDownPinInverted + bit clutchUpPinInverted + bit clutchDownPinInverted bit useHbridges;+If enabled we use two H-bridges to drive stepper idle air valve bit multisparkEnable bit enableLaunchRetard diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 6306bfdba5..ceeab91512 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -2194,9 +2194,12 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" ; Sensor Inputs dialog = otherSensorInputs, "Other Sensor Inputs" field = "Clutch down switch", clutchDownPin - field = "Clutch down inverted", clutchDownPinMode + field = "Clutch down inverted", clutchDownPinInverted + field = "Clutch down mode", clutchDownPinMode + field = "Clutch up switch", clutchUpPin - field = "Clutch up inverted", clutchUpPinMode + field = "Clutch up inverted", clutchUpPinInverted + field = "Clutch up mode", clutchUpPinMode field = "Throttle Up switch", throttlePedalUpPin field = "Brake pedal switch", brakePedalPin field = "Flex fuel sensor", flexSensorPin