diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index d0fcebc608..bd23afadd3 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -353,41 +353,6 @@ user_start(int argc, char *argv[]) /* initialize PWM limit lib */ output_limit_init(&pwm_limit); - /* - * P O L I C E L I G H T S - * - * Not enough memory, lock down. - * - * We might need to allocate mixers later, and this will - * ensure that a developer doing a change will notice - * that he just burned the remaining RAM with static - * allocations. We don't want him to be able to - * get past that point. This needs to be clearly - * documented in the dev guide. - * - */ - if (minfo.mxordblk < 550) { - - syslog(LOG_ERR, "ERR: not enough MEM"); - bool phase = false; - - while (true) { - - if (phase) { - LED_AMBER(true); - LED_BLUE(false); - - } else { - LED_AMBER(false); - LED_BLUE(true); - } - - up_udelay(250000); - - phase = !phase; - } - } - /* Start the failsafe led init */ failsafe_led_init();