From e608efdb76b492e453bf50a2be38631df4c0f475 Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 4 Jun 2019 15:13:49 +0200 Subject: [PATCH] Remove 1ms for mixer to pulse XJT (now 2ms) --- radio/src/tasks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/tasks.cpp b/radio/src/tasks.cpp index a9d9d4d23..fef2cd705 100644 --- a/radio/src/tasks.cpp +++ b/radio/src/tasks.cpp @@ -200,7 +200,7 @@ void scheduleNextMixerCalculation(uint8_t module, uint16_t period_ms) } else { // for now assume mixer calculation takes 2 ms. - nextMixerTime[module] = (uint32_t) RTOS_GET_TIME() + (period_ms / RTOS_MS_PER_TICK) - 1 /* 1 tick in advance*/; + nextMixerTime[module] = (uint32_t) RTOS_GET_TIME() + (period_ms / RTOS_MS_PER_TICK); } DEBUG_TIMER_STOP(debugTimerMixerCalcToUsage);