Automation coverage for RPM not reading #4709

This commit is contained in:
rusefillc 2022-10-28 02:44:38 -04:00
parent 2cd5fab883
commit cf75202ab6
1 changed files with 3 additions and 0 deletions

View File

@ -163,17 +163,20 @@ void enableTriggerStimulator() {
startSimulatedTriggerSignal(); startSimulatedTriggerSignal();
engine->triggerCentral.directSelfStimulation = true; engine->triggerCentral.directSelfStimulation = true;
engine->rpmCalculator.Register(); engine->rpmCalculator.Register();
incrementGlobalConfigurationVersion();
} }
void enableExternalTriggerStimulator() { void enableExternalTriggerStimulator() {
startSimulatedTriggerSignal(); startSimulatedTriggerSignal();
engine->triggerCentral.directSelfStimulation = false; engine->triggerCentral.directSelfStimulation = false;
incrementGlobalConfigurationVersion();
} }
void disableTriggerStimulator() { void disableTriggerStimulator() {
engine->triggerCentral.directSelfStimulation = false; engine->triggerCentral.directSelfStimulation = false;
triggerSignal.stop(); triggerSignal.stop();
hasInitTriggerEmulator = false; hasInitTriggerEmulator = false;
incrementGlobalConfigurationVersion();
} }
void initTriggerEmulatorLogic() { void initTriggerEmulatorLogic() {