[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/eyesIFX/eyesIFXv1 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/eyesIFX/eyesIFXv1
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9954/eyesIFX/eyesIFXv1

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/eyesIFX/eyesIFXv1/hardware.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hardware.h	12 Dec 2006 18:23:41 -0000	1.4
--- hardware.h	1 Jul 2009 19:26:59 -0000	1.5
***************
*** 36,39 ****
--- 36,45 ----
  #include "msp430hardware.h"
  
+ // enum so components can override power saving,
+ // as per TEP 112.
+ enum {
+   TOS_SLEEP_NONE = MSP430_POWER_ACTIVE,
+ };
+ 
  // LED assignments
  TOSH_ASSIGN_PIN(RED_LED, 5, 0); // Compatibility with the mica2



More information about the Tinyos-2-commits mailing list