From 90ea047546b0b48d169f285805d0963aa6c0bec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Roussel?= <Kevin.Roussel@inria.fr> Date: Mon, 31 Mar 2014 14:54:39 +0200 Subject: [PATCH] Fix a typo that provokes many unjustified "cc2420 unexpected IFG" alerts to occur --- boards/telosb/driver_cc2420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/telosb/driver_cc2420.c b/boards/telosb/driver_cc2420.c index f2231c33ca..27baa2abb7 100644 --- a/boards/telosb/driver_cc2420.c +++ b/boards/telosb/driver_cc2420.c @@ -207,7 +207,7 @@ interrupt (PORT1_VECTOR) __attribute__ ((naked)) cc2420_isr(void) DEBUG("rx interrupt"); } /* GIO0 is falling => check if FIFOP is high, indicating an RXFIFO overflow */ - else if ((P1IFG & CC2420_GIO0) != 0) { + else if ((P1IFG & CC2420_GIO0_PIN) != 0) { P1IFG &= ~CC2420_GIO0_PIN; if (cc2420_get_fifop()) { cc2420_rxoverflow_irq(); -- GitLab