Accelerometer-based velocity values are invalid after apogee
[fw/altos] / ao_tidongle.c
index 385e0cfd68cef25a6b4a528e76a0eb2ac25e7705..c8e165c2887703e9023a7ac0bd0e8fddbd7b97b7 100644 (file)
@@ -27,18 +27,17 @@ main(void)
                ;
        
        /* Turn on the LED until the system is stable */
                ;
        
        /* Turn on the LED until the system is stable */
-       ao_led_init();
+       ao_led_init(AO_LED_RED);
        ao_led_on(AO_LED_RED);
        ao_timer_init();
        ao_cmd_init();
        ao_usb_init();
        ao_led_on(AO_LED_RED);
        ao_timer_init();
        ao_cmd_init();
        ao_usb_init();
-       ao_monitor_init();
+       ao_monitor_init(AO_LED_RED);
        ao_radio_init();
        ao_radio_init();
+       ao_dbg_init();
+       ao_config_init();
+       /* Bring up the USB link */
+       P1DIR |= 1;
+       P1 |= 1;
        ao_start_scheduler();
 }
        ao_start_scheduler();
 }
-
-/* Stub for systems which have no ADC */
-void
-ao_adc_poll(void)
-{
-}