aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-12-21 19:08:52 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-12-21 19:08:52 +0100
commit999051546a9dec7cc4eeef8ddc7c37f6c8e68b00 (patch)
treeff9cee158f5056c2eaa34da002a7e030f44ce729 /src/modules
parentb84c9f962b5c3c4d94e21aeb148dec8ffb42b0c9 (diff)
downloadpx4-firmware-999051546a9dec7cc4eeef8ddc7c37f6c8e68b00.tar.gz
px4-firmware-999051546a9dec7cc4eeef8ddc7c37f6c8e68b00.tar.bz2
px4-firmware-999051546a9dec7cc4eeef8ddc7c37f6c8e68b00.zip
Fixed compile error
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/px4iofirmware/controls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/px4iofirmware/controls.c b/src/modules/px4iofirmware/controls.c
index 194d8aab9..75e6d4dea 100644
--- a/src/modules/px4iofirmware/controls.c
+++ b/src/modules/px4iofirmware/controls.c
@@ -136,8 +136,8 @@ controls_tick() {
perf_end(c_gather_ppm);
/* limit number of channels to allowable data size */
- if (r_raw_rc_count > PX4IO_INPUT_CHANNELS)
- r_raw_rc_count = PX4IO_INPUT_CHANNELS;
+ if (r_raw_rc_count > PX4IO_RC_INPUT_CHANNELS)
+ r_raw_rc_count = PX4IO_RC_INPUT_CHANNELS;
/*
* In some cases we may have received a frame, but input has still