mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Adding some padding for the synced option.
This commit is contained in:
parent
740b4a91bd
commit
40167bc134
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void motorDevInit(const motorDevConfig_t *motorConfig, uint16_t idlePulse, uint8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* standard PWM outputs */
|
/* standard PWM outputs */
|
||||||
const unsigned pwmRateHz = useUnsyncedPwm ? motorConfig->motorPwmRate : ceilf(1 / (sMin + sLen));
|
const unsigned pwmRateHz = useUnsyncedPwm ? motorConfig->motorPwmRate : ceilf(1 / (sMin + sLen * 2));
|
||||||
|
|
||||||
const uint32_t clock = timerClock(timerHardware->tim);
|
const uint32_t clock = timerClock(timerHardware->tim);
|
||||||
/* used to find the desired timer frequency for max resolution */
|
/* used to find the desired timer frequency for max resolution */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue