aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/controls.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-03-07 18:06:20 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-03-07 18:06:20 +0100
commita49382485094245b52ded5c3799a9bdd6b0fa832 (patch)
treed97d6c28cfbd87d5d2f2a162c37a73ac86f131e3 /apps/px4io/controls.c
parentff5ca82c7546d5e6db69144b57fb2878c4585ddf (diff)
downloadpx4-firmware-a49382485094245b52ded5c3799a9bdd6b0fa832.tar.gz
px4-firmware-a49382485094245b52ded5c3799a9bdd6b0fa832.tar.bz2
px4-firmware-a49382485094245b52ded5c3799a9bdd6b0fa832.zip
Fixed wrong comment
Diffstat (limited to 'apps/px4io/controls.c')
-rw-r--r--apps/px4io/controls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c
index d678fd351..2d99116f8 100644
--- a/apps/px4io/controls.c
+++ b/apps/px4io/controls.c
@@ -268,10 +268,11 @@ controls_tick() {
bool override = false;
/*
- * Check mapped channel 5; if the value is 'high' then the pilot has
+ * Check mapped channel 5 (can be any remote channel,
+ * depends on RC_MAP_OVER parameter);
+ * If the value is 'high' then the pilot has
* requested override.
*
- * XXX This should be configurable.
*/
if ((r_status_flags & PX4IO_P_STATUS_FLAGS_RC_OK) && (r_rc_values[4] > RC_CHANNEL_HIGH_THRESH))
override = true;