[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/null hardware.h, 1.5, 1.6
Phil Levis
scipio at users.sourceforge.net
Wed Jul 1 12:27:02 PDT 2009
Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/null
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9954/null
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/null/hardware.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** hardware.h 20 Sep 2008 00:00:34 -0000 1.5
--- hardware.h 1 Jul 2009 19:27:00 -0000 1.6
***************
*** 29,31 ****
--- 29,39 ----
}
+ // enum so components can override power saving,
+ // as per TEP 112.
+ // As this is not a real platform, just set it to 0.
+ enum {
+ TOS_SLEEP_NONE = 0,
+ };
+
+
#endif
More information about the Tinyos-2-commits
mailing list