Use software timers to trigger telemetry processing

This commit is contained in:
Raphael Coeffic
2022-03-25 16:50:00 +01:00
parent 7d4c814215
commit 59191f37c3
5 changed files with 57 additions and 33 deletions
-6
View File
@@ -100,12 +100,6 @@ void execMixerFrequentActions()
#if defined(BLUETOOTH)
bluetooth.wakeup();
#endif
if (!s_pulses_paused) {
DEBUG_TIMER_START(debugTimerTelemetryWakeup);
telemetryWakeup();
DEBUG_TIMER_STOP(debugTimerTelemetryWakeup);
}
}
TASK_FUNCTION(mixerTask)