weak standby callback

This commit is contained in:
rusefi 2023-05-13 17:08:55 -04:00
parent c437e7df05
commit 4203f8d5b2
3 changed files with 10 additions and 0 deletions

View File

@ -58,6 +58,10 @@ static void setupDefaultSensorInputs() {
engineConfiguration->iat.adcChannel = H144_IN_IAT; engineConfiguration->iat.adcChannel = H144_IN_IAT;
} }
void onBoardStandBy() {
hellenBoardStandBy();
}
void setBoardConfigOverrides() { void setBoardConfigOverrides() {
setHellen144LedPins(); setHellen144LedPins();
setHellenMegaEnPin(); setHellenMegaEnPin();

View File

@ -40,6 +40,11 @@ void setHellenMegaEnPin() {
} }
} }
void hellenBoardStandBy() {
//efiPrintf("Hellen StandBy");
//todo: see if we need to turn 'megaEn' and pause for a bit to make sure that WBO is off and does not wake main firmware right away
}
/** /**
* dirty hack * dirty hack
*/ */

View File

@ -26,6 +26,7 @@ void hellenWbo();
void setHellen144LedPins(); void setHellen144LedPins();
void setHellen176LedPins(); void setHellen176LedPins();
void setHellenMegaEnPin(); void setHellenMegaEnPin();
void hellenBoardStandBy();
void configureHellenMegaAccCS2Pin(); void configureHellenMegaAccCS2Pin();
void configureHellenCanTerminator(); void configureHellenCanTerminator();