From d980c0db1699dd3f4b6f951e40e524b3eff608fa Mon Sep 17 00:00:00 2001 From: Joakim Eriksson Date: Sun, 5 Jun 2011 00:20:25 +0200 Subject: [PATCH] added delays in CC2420 to avoid risk of configuring before CC2420 is powered on --- core/dev/cc2420.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dev/cc2420.c b/core/dev/cc2420.c index 1074123d9..a027f4c83 100644 --- a/core/dev/cc2420.c +++ b/core/dev/cc2420.c @@ -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. */