[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/intelmote2 hardware.h, 1.4, 1.5

Phil Levis scipio at users.sourceforge.net
Wed Jul 1 12:27:02 PDT 2009


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/intelmote2
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9954/intelmote2

Modified Files:
	hardware.h 
Log Message:
Add TOS_SLEEP_NONE enum so components can prevent
low power states.


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/intelmote2/hardware.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hardware.h	11 Jun 2008 00:46:26 -0000	1.4
--- hardware.h	1 Jul 2009 19:27:00 -0000	1.5
***************
*** 101,104 ****
--- 101,113 ----
  //#include "AM.h"
  
+ // enum so components can override power saving,
+ // as per TEP 112.
+ // Note that currently the pxa27x does not support
+ // McuPowerOverride, so SLEEP_NONE is defined to
+ // be 0.
+ enum {
+   TOS_SLEEP_NONE = 0,
+ };
+ 
  #define MIN(a,b) ((a) < (b) ? (a) : (b))
  



More information about the Tinyos-2-commits mailing list