better code guard?
This commit is contained in:
parent
f35cd62b7c
commit
8be4b30c7f
|
@ -110,8 +110,8 @@ void PrimeController::onPrimeEnd() {
|
||||||
|
|
||||||
void PrimeController::onSlowCallback() {
|
void PrimeController::onSlowCallback() {
|
||||||
if (!getEngineRotationState()->isStopped()) {
|
if (!getEngineRotationState()->isStopped()) {
|
||||||
#if EFI_PROD_CODE
|
#if EFI_BACKUP_SRAM
|
||||||
backupRamSave(BACKUP_IGNITION_SWITCH_COUNTER, 0);
|
backupRamSave(BACKUP_IGNITION_SWITCH_COUNTER, 0);
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_BACKUP_SRAM */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue