From: razvanm Date: Mon, 1 Dec 2008 23:51:38 +0000 (+0000) Subject: Add a comment about the polarity of FIFOP. X-Git-Tag: rc_6_tinyos_2_1_1~557 X-Git-Url: https://oss.titaniummirror.com/gitweb?a=commitdiff_plain;h=979965da13886883fe7399d60ff4d025f53bfd4c;p=tinyos-2.x.git Add a comment about the polarity of FIFOP. --- diff --git a/tos/chips/cc2420/receive/CC2420ReceiveP.nc b/tos/chips/cc2420/receive/CC2420ReceiveP.nc index 30a42191..b50ad035 100644 --- a/tos/chips/cc2420/receive/CC2420ReceiveP.nc +++ b/tos/chips/cc2420/receive/CC2420ReceiveP.nc @@ -126,6 +126,10 @@ implementation { reset_state(); m_state = S_STARTED; atomic receivingPacket = FALSE; + /* Note: + We use the falling edge because the FIFOP polarity is reversed. + This is done in CC2420Power.startOscillator from CC2420ControlP.nc. + */ call InterruptFIFOP.enableFallingEdge(); } return SUCCESS;