[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/shimmer hardware.h, 1.2, 1.3

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


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

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/shimmer/hardware.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** hardware.h	16 Jul 2008 18:47:32 -0000	1.2
--- hardware.h	1 Jul 2009 19:27:00 -0000	1.3
***************
*** 41,44 ****
--- 41,50 ----
  #define SHIMMER 1
  
+ // enum so components can override power saving,
+ // as per TEP 112.
+ enum {
+   TOS_SLEEP_NONE = MSP430_POWER_ACTIVE,
+ };
+ 
  // LEDs
  TOSH_ASSIGN_PIN(RED_LED,    4, 0);



More information about the Tinyos-2-commits mailing list