projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename tools to ao-<foo>
[fw/altos]
/
src
/
ao_teledongle.c
diff --git
a/src/ao_teledongle.c
b/src/ao_teledongle.c
index 567751c6097f3f9f17bdf8dc2165e6041dbc97e2..4ebc53a54161d5f1772426dd3257a80c04c9c163 100644
(file)
--- a/
src/ao_teledongle.c
+++ b/
src/ao_teledongle.c
@@
-22,9
+22,7
@@
void
main(void)
{
void
main(void)
{
- CLKCON = 0;
- while (!(SLEEP & SLEEP_XOSC_STB))
- ;
+ ao_clock_init();
/* Turn on the LED until the system is stable */
ao_led_init(AO_LED_RED|AO_LED_GREEN);
/* Turn on the LED until the system is stable */
ao_led_init(AO_LED_RED|AO_LED_GREEN);