[Tinyos-beta-commits] CVS: tinyos-1.x/beta/TinierDB/TestTimeSync TestTimeSyncM.nc, 1.2, 1.3

Stan Rost stanrost at users.sourceforge.net
Mon Sep 20 09:46:05 PDT 2004


Update of /cvsroot/tinyos/tinyos-1.x/beta/TinierDB/TestTimeSync
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11186/TestTimeSync

Modified Files:
	TestTimeSyncM.nc 
Log Message:
- Added functions for covnerting timestamps into uint64_ts
- Small debugging changes to TestTimeSync



Index: TestTimeSyncM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/TinierDB/TestTimeSync/TestTimeSyncM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestTimeSyncM.nc	27 Aug 2004 20:55:12 -0000	1.2
--- TestTimeSyncM.nc	20 Sep 2004 16:46:01 -0000	1.3
***************
*** 55,58 ****
--- 55,63 ----
  
    command bool TimeSyncAuthority.isAuthoritative(uint16_t addr) {
+ 
+     dbg(DBG_USR1, "AUTH = (parent node %u, depth %u)\n",
+ 	call RouteControl.getParent(),
+ 	call RouteControl.getDepth());
+ 
      return (call RouteControl.getDepth() == 0 ||
  	    call RouteControl.getParent() == addr);



More information about the Tinyos-beta-commits mailing list