added delays in CC2420 to avoid risk of configuring before CC2420 is powered on
This commit is contained in:
parent
966c21c744
commit
d980c0db16
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue