[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/xe1205/phy XE1205PhyP.nc, 1.1.2.2, 1.1.2.3

Henri DF henridf at users.sourceforge.net
Fri Sep 15 07:48:14 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/xe1205/phy
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23654

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	XE1205PhyP.nc 
Log Message:
catch possible overrun that can happen later in packet reception


Index: XE1205PhyP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/xe1205/phy/XE1205PhyP.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** XE1205PhyP.nc	9 Aug 2006 21:03:40 -0000	1.1.2.2
--- XE1205PhyP.nc	15 Sep 2006 14:48:12 -0000	1.1.2.3
***************
*** 307,311 ****
    }
  
-   bool reading=FALSE;
  
  
--- 307,310 ----
***************
*** 319,323 ****
  
      case RADIO_RX_PACKET:
-       reading = TRUE;
        xe1205check(9, call XE1205Fifo.read(&rxFrame[rxFrameIndex], nextRxLen));
        call Interrupt1.disable(); // in case it briefly goes back to full just after we read first byte
--- 318,321 ----
***************
*** 397,401 ****
  
      case RADIO_RX_PACKET:
-       reading = FALSE;
        call Interrupt1.enableRisingEdge();
        return;
--- 395,398 ----
***************
*** 433,436 ****
--- 430,434 ----
  
      case RADIO_RX_HEADER:
+     case RADIO_RX_PACKET:
        stats_rxOverruns++;
        signal XE1205PhyRxTx.rxFrameEnd(NULL, 0, FAIL);



More information about the Tinyos-2-commits mailing list