X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmica2dot%2Fhardware.h;h=d59f5671c7a7146422c5677416cc986e7931d8ad;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=918514f36913a3b04b601a90d6f8c66bb1677728;hpb=c697f532eaadadfafb362a86fff94b9ccc6d7f74;p=tinyos-2.x.git diff --git a/tos/platforms/mica2dot/hardware.h b/tos/platforms/mica2dot/hardware.h index 918514f3..d59f5671 100644 --- a/tos/platforms/mica2dot/hardware.h +++ b/tos/platforms/mica2dot/hardware.h @@ -1,4 +1,4 @@ -/* tab:4 +/* * IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. By * downloading, copying, installing or using the software you agree to * this license. If you do not agree to this license, do not download, @@ -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,