[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/ftsp TimeSyncP.nc, 1.6, 1.7

kusy kusy at users.sourceforge.net
Fri Apr 10 14:39:53 PDT 2009


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22710

Modified Files:
	TimeSyncP.nc 
Log Message:
Fix of a bug in time sync mode code. Thanks Jiangjie. (https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-April/003780.html)

Index: TimeSyncP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/ftsp/TimeSyncP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** TimeSyncP.nc	16 Mar 2009 22:51:18 -0000	1.6
--- TimeSyncP.nc	10 Apr 2009 21:39:50 -0000	1.7
***************
*** 409,413 ****
              return SUCCESS;
  
!         if (mode_ == TS_USER_MODE){
              call Timer.startPeriodic((uint32_t)1000 * BEACON_RATE);
          }
--- 409,413 ----
              return SUCCESS;
  
!         if (mode_ == TS_TIMER_MODE){
              call Timer.startPeriodic((uint32_t)1000 * BEACON_RATE);
          }



More information about the Tinyos-2-commits mailing list