fixed publication of mixer limit flags

This commit is contained in:
Roman Bapst
2015-04-10 20:26:38 +02:00
committed by tumbili
parent 2d985dbed3
commit 555e96a37a
16 changed files with 69 additions and 48 deletions
+2 -2
View File
@@ -230,7 +230,7 @@ mixer_tick(void)
/* poor mans mutex */
in_mixer = true;
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT);
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT, &r_mixer_limits);
in_mixer = false;
/* the pwm limit call takes care of out of band errors */
@@ -453,7 +453,7 @@ mixer_set_failsafe()
unsigned mixed;
/* mix */
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT);
mixed = mixer_group.mix(&outputs[0], PX4IO_SERVO_COUNT, &r_mixer_limits);
/* scale to PWM and update the servo outputs as required */
for (unsigned i = 0; i < mixed; i++) {