[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420_tkn154 CC2420ControlP.nc, 1.3, 1.4

Jan-Hinrich Hauer janhauer at users.sourceforge.net
Tue Mar 24 05:56:49 PDT 2009


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420_tkn154
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23986/tos/chips/cc2420_tkn154

Modified Files:
	CC2420ControlP.nc 
Log Message:
1) simplified the resource transfer: removed ResourceTransfer* interfaces and corresponding components, replaced them by a single new extended TransferableResource interface (the token passing mechanism remains the same, but now there are less interfaces/components involved).
2) made some small fixes/modifications to facilitate porting to micaz, as proposed by Daniel F. Piñeiro Santos

Index: CC2420ControlP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420_tkn154/CC2420ControlP.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CC2420ControlP.nc	4 Mar 2009 18:31:03 -0000	1.3
--- CC2420ControlP.nc	24 Mar 2009 12:56:46 -0000	1.4
***************
*** 448,455 ****
    async event void StartupAlarm.fired() {
      if ( m_state == S_VREG_STARTING ) {
-       cc2420_status_t status;
-       do {
-        status = call SNOP.strobe();  
-       } while (!(status & CC2420_STATUS_XOSC16M_STABLE));
        m_state = S_VREG_STARTED;
        call RSTN.clr();
--- 448,451 ----



More information about the Tinyos-2-commits mailing list