]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/null/hardware.h
Add TOS_SLEEP_NONE enum so components can prevent
[tinyos-2.x.git] / tos / platforms / null / hardware.h
index 2321cb159a52422f842d951c849de064b496db9b..59da9bc7215e8808ad47d9958faf815e2f23b792 100644 (file)
@@ -28,4 +28,12 @@ inline float __nesc_hton_afloat(void *COUNT(sizeof(float)) target, float value)
   return value;
 }
 
+// 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