sources from initial AVR turn-on for TeleTerra
[fw/altos] / src / ao_terraui.c
index 4837273d691929b9289c967441d092b029cdcd96..714a7579be74be91187f24f0e076fc6a1a0899ff 100644 (file)
 
 #include "ao.h"
 
-static __code uint8_t ready_beeps[] = {
-       AO_BEEP_g,      AO_MS_TO_TICKS(100),
-       AO_BEEP_bb,     AO_MS_TO_TICKS(100),
-       AO_BEEP_dd,     AO_MS_TO_TICKS(100),
-       AO_BEEP_gg,     AO_MS_TO_TICKS(200),
-       AO_BEEP_dd,     AO_MS_TO_TICKS(100),
-       AO_BEEP_gg,     AO_MS_TO_TICKS(400),
-};
-
-#define NUM_READY      (sizeof(ready_beeps) / 2)
-
 __xdata uint8_t        ao_terraui_wakeup;
 
 void
 ao_terraui(void)
 {
-       uint8_t i;
-
-       for (i = 0; i < sizeof(ready_beeps); i += 2)
-               ao_beep_for(ready_beeps[i], ready_beeps[i+1]);
+       ao_audio_test();
        for (;;)
                ao_sleep(&ao_terraui_wakeup);
 }