[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/btnode3 hardware.h, 1.7, 1.8

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


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

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/btnode3/hardware.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** hardware.h	11 Jun 2008 00:46:26 -0000	1.7
--- hardware.h	1 Jul 2009 19:26:59 -0000	1.8
***************
*** 54,57 ****
--- 54,63 ----
  #include <MicaTimer.h>
  
+ // enum so components can override power saving,
+ // as per TEP 112.
+ enum {
+   TOS_SLEEP_NONE = ATM128_POWER_IDLE,
+ };
+ 
  // A/D constants (channels, etc)
  enum {



More information about the Tinyos-2-commits mailing list