Skip to content
Snippets Groups Projects
Commit 90ea0475 authored by Kévin Roussel's avatar Kévin Roussel
Browse files

Fix a typo that provokes many unjustified "cc2420 unexpected IFG" alerts to occur

parent dea33bd8
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment