X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmica2dot%2Fhardware.h;h=d59f5671c7a7146422c5677416cc986e7931d8ad;hb=40c17b3af46339be8f27402b7b92652f1794017e;hp=fa5788516f6ba63fb5ba52112683a7f629626a3a;hpb=584be94c30713d3f0d7b8b425eea8df4f99b6c0d;p=tinyos-2.x.git diff --git a/tos/platforms/mica2dot/hardware.h b/tos/platforms/mica2dot/hardware.h index fa578851..d59f5671 100644 --- a/tos/platforms/mica2dot/hardware.h +++ b/tos/platforms/mica2dot/hardware.h @@ -51,6 +51,12 @@ #include #include +// enum so components can override power saving, +// as per TEP 112. +enum { + TOS_SLEEP_NONE = ATM128_POWER_IDLE, +}; + // A/D channels enum { CHANNEL_RSSI = ATM128_ADC_SNGL_ADC0,