diff --git a/firmware/console/status_loop.cpp b/firmware/console/status_loop.cpp index 3be5b3a194..7b226983b2 100644 --- a/firmware/console/status_loop.cpp +++ b/firmware/console/status_loop.cpp @@ -874,7 +874,9 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels) { void updateCurrentEnginePhase() { if (auto phase = engine->triggerCentral.getCurrentEnginePhase(getTimeNowNt())) { - tsOutputChannels.currentEnginePhase = phase.Value - tdcPosition(); + angle_t angle = phase.Value - tdcPosition(); + wrapAngle(angle, "updateCurrentEnginePhase", CUSTOM_ERR_6555); + tsOutputChannels.currentEnginePhase = angle; } else { tsOutputChannels.currentEnginePhase = 0; }