projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another test round
[fw/altos]
/
src
/
ao_tidongle.c
diff --git
a/src/ao_tidongle.c
b/src/ao_tidongle.c
index 6dfa9ae9477103f6b5d9ae11c51f8af61e0b9b07..3b7c2733b7feaf51427f648a9d64f5541a6fb95e 100644
(file)
--- a/
src/ao_tidongle.c
+++ b/
src/ao_tidongle.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);
/* Turn on the LED until the system is stable */
ao_led_init(AO_LED_RED);