[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420 CC2420ControlP.nc, 1.1.2.21, 1.1.2.22

Jonathan Hui jwhui at users.sourceforge.net
Thu Sep 7 10:53:19 PDT 2006


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

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	CC2420ControlP.nc 
Log Message:

Release resource after changing config registers.

Fixes bug noted by Razvan ME.



Index: CC2420ControlP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/CC2420ControlP.nc,v
retrieving revision 1.1.2.21
retrieving revision 1.1.2.22
diff -C2 -d -r1.1.2.21 -r1.1.2.22
*** CC2420ControlP.nc	15 Aug 2006 11:59:08 -0000	1.1.2.21
--- CC2420ControlP.nc	7 Sep 2006 17:53:12 -0000	1.1.2.22
***************
*** 271,274 ****
--- 271,275 ----
      call PANID.write( 0, (uint8_t*)id, sizeof( id ) );
      call CSN.set();
+     call SyncResource.release();
      
      post syncDone_task();



More information about the Tinyos-2-commits mailing list