[Tinyos-beta-commits] CVS: tinyos-1.x/beta/Drain/TestDrain TestDrain.nc, 1.2, 1.3 TestDrainM.nc, 1.2, 1.3

Gilman Tolle gtolle at users.sourceforge.net
Mon Aug 22 11:55:21 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/Drain/TestDrain
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25153/TestDrain

Modified Files:
	TestDrain.nc TestDrainM.nc 
Log Message:
increased the default send period for DrainTest

Index: TestDrain.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Drain/TestDrain/TestDrain.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestDrain.nc	27 Apr 2005 00:21:27 -0000	1.2
--- TestDrain.nc	22 Aug 2005 18:55:18 -0000	1.3
***************
*** 19,22 ****
--- 19,23 ----
    TestDrainM.Leds -> Leds;
  
+   TestDrainM.Drain -> DrainC.Drain;
    TestDrainM.Send -> DrainC.Send[AM_TESTDRAINMSG];
    TestDrainM.SendMsg -> DrainC.SendMsg[AM_TESTDRAINMSG];

Index: TestDrainM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/Drain/TestDrain/TestDrainM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestDrainM.nc	27 Apr 2005 00:21:27 -0000	1.2
--- TestDrainM.nc	22 Aug 2005 18:55:18 -0000	1.3
***************
*** 12,15 ****
--- 12,17 ----
      interface Timer;
      interface Random;
+ 
+     interface Drain;
    }
  }
***************
*** 46,50 ****
      
      call Leds.redOn();
!     
      call Timer.start(TIMER_ONE_SHOT, sendPeriod);
  
--- 48,58 ----
      
      call Leds.redOn();
! 
!     if (TOS_LOCAL_ADDRESS == 1) {
!       call Drain.buildTree();
!       call Timer.start(TIMER_ONE_SHOT, 10000);
!       return SUCCESS;
!     }
! 
      call Timer.start(TIMER_ONE_SHOT, sendPeriod);
  



More information about the Tinyos-beta-commits mailing list