X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Ftelosa%2Fhardware.h;h=b1b1939551bc20a85a9d303630e7355f752bda82;hp=405ba4f3c932ff4e9bf26c2ca41c9709b98f1c1b;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/platforms/telosa/hardware.h b/tos/platforms/telosa/hardware.h index 405ba4f3..b1b19395 100644 --- a/tos/platforms/telosa/hardware.h +++ b/tos/platforms/telosa/hardware.h @@ -4,6 +4,12 @@ #include "msp430hardware.h" +// enum so components can override power saving, +// as per TEP 112. +enum { + TOS_SLEEP_NONE = MSP430_POWER_ACTIVE, +}; + // LEDs TOSH_ASSIGN_PIN(RED_LED, 5, 4); TOSH_ASSIGN_PIN(GREEN_LED, 5, 5);