Browse Source

Removed bound checking assertions

sbg
Lorenz Meier 12 years ago
parent
commit
2284e668eb
  1. 3
      apps/px4io/controls.c

3
apps/px4io/controls.c

@ -173,9 +173,6 @@ controls_tick() { @@ -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;

Loading…
Cancel
Save