enhance formatting

This commit is contained in:
kifir 2024-04-22 20:29:06 +03:00 committed by rusEFI LLC
parent ccd3986b3c
commit ff64d67075
2 changed files with 3 additions and 3 deletions

View File

@ -343,11 +343,11 @@ void turnSparkPinHighStartCharging(IgnitionEvent *event) {
#if EFI_UNIT_TEST #if EFI_UNIT_TEST
if (engine->onIgnitionEvent) { if (engine->onIgnitionEvent) {
engine->onIgnitionEvent(event, true); engine->onIgnitionEvent(event, true);
} }
#endif #endif
#if EFI_TOOTH_LOGGER #if EFI_TOOTH_LOGGER
LogTriggerCoilState(nowNt, true); LogTriggerCoilState(nowNt, true);
#endif // EFI_TOOTH_LOGGER #endif // EFI_TOOTH_LOGGER
} }

View File

@ -31,7 +31,7 @@ static void testNoOverdwell(const char* file, bool instantRpm) {
std::vector<efitick_t> coilStartTimes(12); std::vector<efitick_t> coilStartTimes(12);
engine->onIgnitionEvent = [&](IgnitionEvent* event, bool state) { engine->onIgnitionEvent = [&](IgnitionEvent* event, bool state) {
efitick_t startTime = coilStartTimes[event->coilIndex]; efitick_t startTime = coilStartTimes[event->coilIndex];
if (state) { if (state) {
coilStartTimes[event->coilIndex] = getTimeNowNt(); coilStartTimes[event->coilIndex] = getTimeNowNt();