Clutch switch inverted options do not invert detected pedal position

#3044
This commit is contained in:
Andrey 2021-07-24 19:20:59 -04:00
parent 995f76e95b
commit a63c55e394
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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