projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ffd4388
)
Wait for xtal to stabilize
author
Keith Packard
<keithp@keithp.com>
Wed, 25 Mar 2009 08:02:07 +0000
(
01:02
-0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 25 Mar 2009 08:02:07 +0000
(
01:02
-0700)
target/radio/radio.c
patch
|
blob
|
history
diff --git
a/target/radio/radio.c
b/target/radio/radio.c
index ba693a775ab83f78622b244ec718871b63fbb062..d6c49effc8dd4b69f3ce740eb0068fb57a6ea816 100644
(file)
--- a/
target/radio/radio.c
+++ b/
target/radio/radio.c
@@
-518,6
+518,8
@@
radio_init() {
main ()
{
CLKCON = 0;
main ()
{
CLKCON = 0;
+ while (!(SLEEP & SLEEP_XOSC_STB))
+ ;
/* Set P2_0 to output */
radio_init ();
delay(100);
/* Set P2_0 to output */
radio_init ();
delay(100);