mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 07:15:12 +03:00
Remove 1ms for mixer to pulse XJT (now 2ms)
This commit is contained in:
parent
46c47fc311
commit
e608efdb76
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue