mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Change use_fast_pwm to forced_motor_pwm // New default fixed PWM rates
This commit is contained in:
parent
a5278740bd
commit
977fec408a
11 changed files with 24 additions and 20 deletions
|
@ -205,7 +205,7 @@ void pwmBrushlessMotorConfig(const timerHardware_t *timerHardware, uint8_t motor
|
|||
motors[motorIndex]->pwmWritePtr = pwmWriteStandard;
|
||||
}
|
||||
|
||||
void fastPWMMotorConfig(const timerHardware_t *timerHardware, uint8_t motorIndex, uint16_t motorPwmRate, uint16_t idlePulse, uint8_t useOneshot42, uint8_t useMultiShot)
|
||||
void pwmFixedMotorConfig(const timerHardware_t *timerHardware, uint8_t motorIndex, uint16_t motorPwmRate, uint16_t idlePulse, uint8_t useOneshot42, uint8_t useMultiShot)
|
||||
{
|
||||
uint32_t hz;
|
||||
if (useMultiShot) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue