diff --git a/firmware/controllers/trigger/decoders/trigger_mazda.cpp b/firmware/controllers/trigger/decoders/trigger_mazda.cpp index e0825201f3..cb15e7d0c2 100644 --- a/firmware/controllers/trigger/decoders/trigger_mazda.cpp +++ b/firmware/controllers/trigger/decoders/trigger_mazda.cpp @@ -103,7 +103,7 @@ void initializeMazdaMiataNb2Crank(TriggerShape *s) { static void initializeMazdaMiataNb1ShapeWithOffset(TriggerShape *s, float offset) { s->initialize(FOUR_STROKE_CAM_SENSOR, true); - s->setTriggerSynchronizationGap(0.11f); + s->setTriggerSynchronizationGap3(0, 0.065, 0.17f); s->useRiseEdge = false; s->bothFrontsRequired = true; s->useOnlyPrimaryForSync = true; diff --git a/firmware/controllers/trigger/trigger_decoder.cpp b/firmware/controllers/trigger/trigger_decoder.cpp index 1141b6a3ef..211aa6093f 100644 --- a/firmware/controllers/trigger/trigger_decoder.cpp +++ b/firmware/controllers/trigger/trigger_decoder.cpp @@ -558,7 +558,7 @@ void TriggerState::decodeTriggerEvent(trigger_event_e const signal, efitime_t no scheduleMsg(logger, "index=%d NaN gap, you have noise issues?", i); } else { - scheduleMsg(logger, "time=%d index=%d: gap=%.2f expected from %.2f to %.2f error=%s", + scheduleMsg(logger, "time=%d index=%d: gap=%.3f expected from %.3f to %.3f error=%s", /* cast is needed to make sure we do not put 64 bit value to stack*/ (int)getTimeNowSeconds(), i, gap,