Removed bound checking assertions

This commit is contained in:
Lorenz Meier 2013-02-25 08:53:00 +01:00
parent 5cc1e30e4f
commit 2284e668eb
1 changed files with 0 additions and 3 deletions

View File

@ -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;