1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Oneshot42 Implementation

This commit is contained in:
borisbstyle 2016-02-22 15:13:36 +01:00
parent e561ec3cb7
commit 6b8f4f1111
7 changed files with 33 additions and 11 deletions

View file

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