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();
engine->triggerCentral.directSelfStimulation = true;
engine->rpmCalculator.Register();
incrementGlobalConfigurationVersion();
}
void enableExternalTriggerStimulator() {
startSimulatedTriggerSignal();
engine->triggerCentral.directSelfStimulation = false;
incrementGlobalConfigurationVersion();
}
void disableTriggerStimulator() {
engine->triggerCentral.directSelfStimulation = false;
triggerSignal.stop();
hasInitTriggerEmulator = false;
incrementGlobalConfigurationVersion();
}
void initTriggerEmulatorLogic() {