mirror of
https://github.com/oliverschmidt/contiki.git
synced 2026-04-26 00:18:23 +00:00
added delays in CC2420 to avoid risk of configuring before CC2420 is powered on
This commit is contained in:
+2
-2
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user