[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/diku/evb13192/tos/chips/hcs08/timers LocalTimeM.nc, 1.3, 1.4 TimerM.nc, 1.1, 1.2

Jan Flora janflora at users.sourceforge.net
Sat Sep 16 10:52:27 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/diku/evb13192/tos/chips/hcs08/timers
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10095/tos/chips/hcs08/timers

Modified Files:
	LocalTimeM.nc TimerM.nc 
Log Message:
802.15.4 GTS functionality updates

Index: LocalTimeM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/diku/evb13192/tos/chips/hcs08/timers/LocalTimeM.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LocalTimeM.nc	23 Aug 2006 10:11:37 -0000	1.3
--- LocalTimeM.nc	16 Sep 2006 17:52:24 -0000	1.4
***************
*** 45,48 ****
--- 45,58 ----
  	}
  
+ 	command bool LocalTime.isFuture(uint32_t timeStamp)
+ 	{
+ 	
+ 	}
+ 	
+ 	command bool LocalTime.isPast(uint32_t timeStamp)
+ 	{
+ 	
+ 	}
+ 
  	command uint32_t LocalTime.timeDiff(uint32_t before, uint32_t after)
  	{

Index: TimerM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/diku/evb13192/tos/chips/hcs08/timers/TimerM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TimerM.nc	16 Jan 2006 18:43:18 -0000	1.1
--- TimerM.nc	16 Sep 2006 17:52:24 -0000	1.2
***************
*** 155,159 ****
  	command result_t Timer.setOneShot[uint8_t timer]( TimerTicks_t millis )
  	{
! 		uint16_t nowLow = (call LocalTime.getTimeL()&0xFFFF);
  		uint32_t alarm = (millis*1000)+nowLow;
  		uint16_t upper = alarm>>16;
--- 155,159 ----
  	command result_t Timer.setOneShot[uint8_t timer]( TimerTicks_t millis )
  	{
! 		uint16_t nowLow = (call LocalTime.getLow16()&0xFFFF);
  		uint32_t alarm = (millis*1000)+nowLow;
  		uint16_t upper = alarm>>16;



More information about the Tinyos-contrib-commits mailing list