weak standby callback
This commit is contained in:
parent
c437e7df05
commit
4203f8d5b2
|
@ -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();
|
||||||
|
|
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue