parent
c4c28431f2
commit
6888b09c53
|
@ -575,6 +575,8 @@ void initIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
/**
|
||||
* Start PWM for idleValvePin
|
||||
*/
|
||||
// todo: even for double-solenoid mode we can probably use same single SimplePWM
|
||||
// todo: open question why do we pass 'OutputPin' into 'startSimplePwmExt' if we have custom applyIdleSolenoidPinState listener anyway?
|
||||
startSimplePwmExt(&idleSolenoid, "Idle Valve",
|
||||
&engine->executor,
|
||||
CONFIG(idle).solenoidPin, &enginePins.idleSolenoidPin,
|
||||
|
|
|
@ -135,6 +135,7 @@ void EnginePins::unregisterPins() {
|
|||
unregisterOutputIfPinOrModeChanged(dizzyOutput, dizzySparkOutputPin, dizzySparkOutputPinMode);
|
||||
unregisterOutputIfPinOrModeChanged(tachOut, tachOutputPin, tachOutputPinMode);
|
||||
unregisterOutputIfPinOrModeChanged(idleSolenoidPin, idle.solenoidPin, idle.solenoidPinMode);
|
||||
unregisterOutputIfPinOrModeChanged(secondIdleSolenoidPin, secondSolenoidPin, idle.solenoidPinMode);
|
||||
unregisterOutputIfPinChanged(sdCsPin, sdCardCsPin);
|
||||
unregisterOutputIfPinChanged(accelerometerCs, LIS302DLCsPin);
|
||||
|
||||
|
|
|
@ -141,6 +141,7 @@ public:
|
|||
OutputPin debugSetTimer;
|
||||
OutputPin boostPin;
|
||||
OutputPin idleSolenoidPin;
|
||||
OutputPin secondIdleSolenoidPin;
|
||||
OutputPin alternatorPin;
|
||||
/**
|
||||
* this one is usually on the gauge cluster, not on the ECU
|
||||
|
|
Loading…
Reference in New Issue