Remove 1ms for mixer to pulse XJT (now 2ms)
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ void scheduleNextMixerCalculation(uint8_t module, uint16_t period_ms)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// for now assume mixer calculation takes 2 ms.
|
// 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);
|
DEBUG_TIMER_STOP(debugTimerMixerCalcToUsage);
|
||||||
|
|||||||
Reference in New Issue
Block a user