mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Oneshot42 Implementation
This commit is contained in:
parent
e561ec3cb7
commit
6b8f4f1111
7 changed files with 33 additions and 11 deletions
|
@ -309,6 +309,7 @@ void init(void)
|
|||
|
||||
pwm_params.useOneshot = feature(FEATURE_ONESHOT125);
|
||||
pwm_params.useFastPWM = masterConfig.use_fast_pwm ? true : false;
|
||||
pwm_params.useOneshot42 = masterConfig.use_oneshot42 ? true : false;
|
||||
pwm_params.motorPwmRate = masterConfig.motor_pwm_rate;
|
||||
pwm_params.idlePulse = masterConfig.escAndServoConfig.mincommand;
|
||||
if (feature(FEATURE_3D))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue