1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

Remove 1ms for mixer to pulse XJT (now 2ms)

This commit is contained in:
3djc 2019-06-04 15:13:49 +02:00
parent 46c47fc311
commit e608efdb76

View file

@ -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);