From 2284e668ebab8fd452ecb5ca86d386e599f19ff1 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 25 Feb 2013 08:53:00 +0100 Subject: [PATCH] Removed bound checking assertions --- apps/px4io/controls.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c index 3cc7140de5..dabdde0af9 100644 --- a/apps/px4io/controls.c +++ b/apps/px4io/controls.c @@ -173,9 +173,6 @@ controls_tick() { /* scale to fixed-point representation (-10000..10000) */ scaled *= 20; - ASSERT(scaled >= -50000); - ASSERT(scaled <= 50000); - if (conf[PX4IO_P_RC_CONFIG_OPTIONS] & PX4IO_P_RC_CONFIG_OPTIONS_REVERSE) scaled = -scaled;