better ignition_voltage_detected message
This commit is contained in:
parent
fc3b89278a
commit
99daecb7c7
|
@ -526,8 +526,11 @@ void Engine::checkShutdown() {
|
|||
// and we want to turn on the main relay only when 100% sure.
|
||||
if ((Sensor::get(SensorType::BatteryVoltage).value_or(0) > vBattThresholdOn) && !isInShutdownMode()) {
|
||||
ignitionOnTimeNt = getTimeNowNt();
|
||||
stopEngineRequestTimeNt = 0;
|
||||
efiPrintf("Ignition voltage detected! Cancel the engine shutdown!");
|
||||
efiPrintf("Ignition voltage detected!");
|
||||
if (stopEngineRequestTimeNt != 0) {
|
||||
efiPrintf("Cancel the engine shutdown!");
|
||||
stopEngineRequestTimeNt = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* EFI_MAIN_RELAY_CONTROL */
|
||||
|
|
Loading…
Reference in New Issue