aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-02-25 08:31:43 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-02-25 08:31:43 +0100
commit5cc1e30e4fea92f32004288d8511de7e63c0c506 (patch)
treeb78f76abe0bdacc9167c62f1c13ea232f3d6d905 /apps/px4io
parent2ad41b8373338c26530c00ae245918e2ef473597 (diff)
downloadpx4-firmware-5cc1e30e4fea92f32004288d8511de7e63c0c506.tar.gz
px4-firmware-5cc1e30e4fea92f32004288d8511de7e63c0c506.tar.bz2
px4-firmware-5cc1e30e4fea92f32004288d8511de7e63c0c506.zip
Corrected assertion range
Diffstat (limited to 'apps/px4io')
-rw-r--r--apps/px4io/controls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c
index 21b4edcc3..3cc7140de 100644
--- a/apps/px4io/controls.c
+++ b/apps/px4io/controls.c
@@ -173,8 +173,8 @@ controls_tick() {
/* scale to fixed-point representation (-10000..10000) */
scaled *= 20;
- ASSERT(scaled >= -15000);
- ASSERT(scaled <= 15000);
+ ASSERT(scaled >= -50000);
+ ASSERT(scaled <= 50000);
if (conf[PX4IO_P_RC_CONFIG_OPTIONS] & PX4IO_P_RC_CONFIG_OPTIONS_REVERSE)
scaled = -scaled;