mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 06:43:34 +08:00
px4iofirmware: Indicate with a comment that band limiting happens in pwm_limit() call
This commit is contained in:
@@ -213,6 +213,7 @@ mixer_tick(void)
|
|||||||
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT);
|
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT);
|
||||||
in_mixer = false;
|
in_mixer = false;
|
||||||
|
|
||||||
|
/* the pwm limit call takes care of out of band errors */
|
||||||
pwm_limit_calc(should_arm, mixed, r_page_servo_disarmed, r_page_servo_control_min, r_page_servo_control_max, outputs, r_page_servos, &pwm_limit);
|
pwm_limit_calc(should_arm, mixed, r_page_servo_disarmed, r_page_servo_control_min, r_page_servo_control_max, outputs, r_page_servos, &pwm_limit);
|
||||||
|
|
||||||
for (unsigned i = mixed; i < PX4IO_SERVO_COUNT; i++)
|
for (unsigned i = mixed; i < PX4IO_SERVO_COUNT; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user