X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao_telemetrum.c;h=5e951b493f098c1a42b787dde12a0635e22f2439;hp=a680ce19675180b0377887b33e0609d82169f5d8;hb=e59520e343c2573b1b92c0b3c4aaa93e51bc55d3;hpb=1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a diff --git a/src/ao_telemetrum.c b/src/ao_telemetrum.c index a680ce19..5e951b49 100644 --- a/src/ao_telemetrum.c +++ b/src/ao_telemetrum.c @@ -20,9 +20,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);