[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/timer TransformAlarmCounterC.nc, 1.2, 1.3

David Gay idgay at users.sourceforge.net
Wed Aug 9 17:05:27 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/timer
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv23660

Modified Files:
	TransformAlarmCounterC.nc 
Log Message:
fix isRunning


Index: TransformAlarmCounterC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/timer/TransformAlarmCounterC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TransformAlarmCounterC.nc	12 Jul 2006 17:02:31 -0000	1.2
--- TransformAlarmCounterC.nc	10 Aug 2006 00:05:25 -0000	1.3
***************
*** 169,173 ****
    async command bool Alarm.isRunning()
    {
!     return call AlarmFrom.isRunning();
    }
  
--- 169,173 ----
    async command bool Alarm.isRunning()
    {
!     atomic return call AlarmFrom.isRunning() || m_skip_overflows;
    }
  
***************
*** 262,265 ****
--- 262,266 ----
    {
    }
+ 
    default async event void Counter.overflow()
    {



More information about the Tinyos-2-commits mailing list