mirror of https://github.com/rusefi/rusefi-1.git
Clutch switch inverted options do not invert detected pedal position
#3044
This commit is contained in:
parent
37247db383
commit
eaeade5305
|
@ -729,8 +729,8 @@ void startPedalPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void stopPedalPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
void stopPedalPins(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
brain_pin_markUsed(activeConfiguration.clutchUpPin, "clutch" PASS_ENGINE_PARAMETER_SUFFIX);
|
brain_pin_markUnused(activeConfiguration.clutchUpPin PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
brain_pin_markUsed(activeConfiguration.clutchDownPin, "clutch" PASS_ENGINE_PARAMETER_SUFFIX);
|
brain_pin_markUnused(activeConfiguration.clutchDownPin PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
brain_pin_markUsed(activeConfiguration.throttlePedalUpPin, "th_pedal" PASS_ENGINE_PARAMETER_SUFFIX);
|
brain_pin_markUnused(activeConfiguration.throttlePedalUpPin PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
brain_pin_markUsed(activeConfiguration.brakePedalPin, "brake" PASS_ENGINE_PARAMETER_SUFFIX);
|
brain_pin_markUnused(activeConfiguration.brakePedalPin PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
}
|
}
|
||||||
|
|
|
@ -489,11 +489,6 @@ enable2ndByteCanID = false
|
||||||
requiresPowerCycle = binarySerialTxPin
|
requiresPowerCycle = binarySerialTxPin
|
||||||
requiresPowerCycle = binarySerialRxPin
|
requiresPowerCycle = binarySerialRxPin
|
||||||
|
|
||||||
requiresPowerCycle = clutchUpPin
|
|
||||||
requiresPowerCycle = clutchUpPinMode
|
|
||||||
requiresPowerCycle = clutchDownPin
|
|
||||||
requiresPowerCycle = clutchDownPinMode
|
|
||||||
|
|
||||||
requiresPowerCycle = etb_use_two_wires
|
requiresPowerCycle = etb_use_two_wires
|
||||||
requiresPowerCycle = etbFreq
|
requiresPowerCycle = etbFreq
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue