QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871
This commit is contained in:
parent
b77c4ab55a
commit
12a720dde2
|
@ -212,7 +212,7 @@ void Engine::periodicSlowCallback(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
if (secondsNow > 2 && secondsNow < 180) {
|
||||
assertCloseTo("RPM", Sensor::get(SensorType::Rpm).Value, HW_CHECK_RPM);
|
||||
} else if (!hasFirmwareError() && secondsNow > 180) {
|
||||
static isHappyTest = false;
|
||||
static bool isHappyTest = false;
|
||||
if (!isHappyTest) {
|
||||
setTriggerEmulatorRPM(5 * HW_CHECK_RPM);
|
||||
scheduleMsg(&engineLogger, "TEST PASSED");
|
||||
|
|
Loading…
Reference in New Issue