mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 04:33:33 +08:00
simplify oneshot mode selection; use zero PWM rate as indicator
cleanup and remove unused (new) params
This commit is contained in:
committed by
Lorenz Meier
parent
aa9fbbedd5
commit
2d5588ae02
@@ -313,9 +313,7 @@ mixer_tick(void)
|
||||
if (new_fmu_data) {
|
||||
new_fmu_data = false;
|
||||
|
||||
if (up_pwm_get_oneshot_mode()) {
|
||||
up_pwm_force_update();
|
||||
}
|
||||
up_pwm_force_update();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user