useful to try things on real ECU even without ignition voltage

only:proteus_f7
This commit is contained in:
rusefillc 2023-11-12 15:55:05 -05:00
parent 814b94dd4b
commit 82ab8d616d
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ void LimpManager::updateState(int rpm, efitick_t nowNt) {
Clearable allowSpark = engineConfiguration->isIgnitionEnabled;
#if !EFI_UNIT_TEST
if (!m_ignitionOn) {
if (!m_ignitionOn
&& !engine->triggerCentral.directSelfStimulation // useful to try things on real ECU even without ignition voltage
) {
allowFuel.clear(ClearReason::IgnitionOff);
allowSpark.clear(ClearReason::IgnitionOff);
}