Use the right constraint for the output mixer; we might end up wanting more virtual control channels.

This commit is contained in:
px4dev
2012-11-30 21:52:18 -08:00
parent 1e6e06595a
commit 8c4e9de70a
+1 -3
View File
@@ -49,7 +49,6 @@
#include <fcntl.h>
#include <drivers/drv_pwm_output.h>
#include <drivers/drv_hrt.h>
#include <systemlib/ppm_decode.h>
@@ -125,12 +124,11 @@ mixer_tick(void)
/* we have no control input */
control_count = 0;
}
/*
* Tickle each mixer, if we have control data.
*/
if (control_count > 0) {
for (i = 0; i < PX4IO_OUTPUT_CHANNELS; i++) {
for (i = 0; i < IO_SERVO_COUNT; i++) {
mixer_update(i, control_values, control_count);
/*