Remove bit-banging debug support from TM board builds
[fw/altos] / src / ao_teleterra.c
index ad3e2d9bd96355347079fe4831d3b746fd36c874..deb63597f91845dec91a69a2158c0f80df9b2ba8 100644 (file)
@@ -21,9 +21,7 @@
 void
 main(void)
 {
-       CLKCON = 0;
-       while (!(SLEEP & SLEEP_XOSC_STB))
-               ;
+       ao_clock_init();
 
        /* Turn on the red LED until the system is stable */
        ao_led_init(AO_LED_RED|AO_LED_GREEN);
@@ -36,7 +34,6 @@ main(void)
        ao_gps_init();
        ao_monitor_init(AO_LED_GREEN, TRUE);
        ao_radio_init();
-       ao_dbg_init();
        ao_config_init();
        ao_start_scheduler();
 }