diff --git a/firmware/controllers/engine_cycle/spark_logic.cpp b/firmware/controllers/engine_cycle/spark_logic.cpp index a8c2b293de..cab093d88f 100644 --- a/firmware/controllers/engine_cycle/spark_logic.cpp +++ b/firmware/controllers/engine_cycle/spark_logic.cpp @@ -343,11 +343,11 @@ void turnSparkPinHighStartCharging(IgnitionEvent *event) { #if EFI_UNIT_TEST if (engine->onIgnitionEvent) { engine->onIgnitionEvent(event, true); - } + } #endif #if EFI_TOOTH_LOGGER - LogTriggerCoilState(nowNt, true); + LogTriggerCoilState(nowNt, true); #endif // EFI_TOOTH_LOGGER } diff --git a/unit_tests/tests/trigger/test_real_noisy_trigger.cpp b/unit_tests/tests/trigger/test_real_noisy_trigger.cpp index e306958d5e..cc7effa0b3 100644 --- a/unit_tests/tests/trigger/test_real_noisy_trigger.cpp +++ b/unit_tests/tests/trigger/test_real_noisy_trigger.cpp @@ -31,7 +31,7 @@ static void testNoOverdwell(const char* file, bool instantRpm) { std::vector coilStartTimes(12); engine->onIgnitionEvent = [&](IgnitionEvent* event, bool state) { - efitick_t startTime = coilStartTimes[event->coilIndex]; + efitick_t startTime = coilStartTimes[event->coilIndex]; if (state) { coilStartTimes[event->coilIndex] = getTimeNowNt();