mirror of https://github.com/rusefi/rusefi.git
enhance formatting
This commit is contained in:
parent
ccd3986b3c
commit
ff64d67075
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue