added delays in CC2420 to avoid risk of configuring before CC2420 is powered on

This commit is contained in:
Joakim Eriksson 2011-06-05 00:20:25 +02:00
parent 966c21c744
commit d980c0db16

View file

@ -295,11 +295,11 @@ cc2420_init(void)
/* Turn on voltage regulator and reset. */
SET_VREG_ACTIVE();
//clock_delay(250); OK
clock_delay(250);
SET_RESET_ACTIVE();
clock_delay(127);
SET_RESET_INACTIVE();
//clock_delay(125); OK
clock_delay(125);
/* Turn on the crystal oscillator. */