X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fbtnode3%2Fhardware.h;h=99484b8ba2b8407f120c40b713961185a807283e;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=18062b8baab4b4cac319fb73eb0696e06a61b9ab;hpb=c1629823e5d9bf307fbb5b87d88787ac1e78c4b5;p=tinyos-2.x.git diff --git a/tos/platforms/btnode3/hardware.h b/tos/platforms/btnode3/hardware.h index 18062b8b..99484b8b 100644 --- a/tos/platforms/btnode3/hardware.h +++ b/tos/platforms/btnode3/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, @@ -53,6 +53,12 @@ #include #include +// enum so components can override power saving, +// as per TEP 112. +enum { + TOS_SLEEP_NONE = ATM128_POWER_IDLE, +}; + // A/D constants (channels, etc) enum { CHANNEL_RSSI = ATM128_ADC_SNGL_ADC2,