From 513578643c6b7e82db449b3861fcbba61212353c Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 27 Sep 2022 11:10:58 +0200 Subject: [PATCH] fix(cpn): Calculated telemetery sensors in simulator not updating (#2369) --- radio/src/tasks.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/radio/src/tasks.cpp b/radio/src/tasks.cpp index 4e0134fb6..eaf823643 100644 --- a/radio/src/tasks.cpp +++ b/radio/src/tasks.cpp @@ -100,6 +100,14 @@ void execMixerFrequentActions() #if defined(BLUETOOTH) bluetooth.wakeup(); #endif + +#if defined(SIMU) + if (!s_pulses_paused) { + DEBUG_TIMER_START(debugTimerTelemetryWakeup); + telemetryWakeup(); + DEBUG_TIMER_STOP(debugTimerTelemetryWakeup); + } +#endif } TASK_FUNCTION(mixerTask)