simplify oneshot mode selection; use zero PWM rate as indicator

cleanup and remove unused (new) params
This commit is contained in:
Mark Whitehorn
2017-03-23 08:28:15 +01:00
committed by Lorenz Meier
parent aa9fbbedd5
commit 2d5588ae02
8 changed files with 64 additions and 116 deletions
+1 -3
View File
@@ -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();
}
}