[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/opcodes OPsleepM.nc, 1.4, 1.5

David Gay idgay at users.sourceforge.net
Mon Oct 31 18:28:13 PST 2005


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/opcodes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5387/opcodes

Modified Files:
	OPsleepM.nc 
Log Message:
copyright notices (yeah!)
misc minor bug fixes
move tsql.vmsf TinySQL VM to TinySQL directory


Index: OPsleepM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/opcodes/OPsleepM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** OPsleepM.nc	30 Nov 2004 18:51:40 -0000	1.4
--- OPsleepM.nc	1 Nov 2005 02:28:11 -0000	1.5
***************
*** 141,145 ****
  
      if (!active) {
!       call Timer.start(TIMER_REPEAT, 1024);
        active = TRUE;
      }
--- 141,145 ----
  
      if (!active) {
!       call Timer.start(TIMER_REPEAT, 102);
        active = TRUE;
      }
***************
*** 155,159 ****
        if (state[i].active) {
  	state[i].counter--;
! 	if (state[i].counter < 0) {
  	  call Synch.resumeContext(state[i].context, state[i].context);
  	  state[i].active = FALSE;
--- 155,159 ----
        if (state[i].active) {
  	state[i].counter--;
! 	if (state[i].counter <= 0) {
  	  call Synch.resumeContext(state[i].context, state[i].context);
  	  state[i].active = FALSE;



More information about the Tinyos-commits mailing list