X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Fmsp430%2Ftimer%2FMsp430ClockP.nc;h=689175de7ae82a057be0d9f56a7566805de32d6f;hb=4239469aad3e8deb3ec56e2b19ba14e39abb3936;hp=55aaba33203581bdff602e1b62d393355f5fe05b;hpb=40c17b3af46339be8f27402b7b92652f1794017e;p=tinyos-2.x.git diff --git a/tos/chips/msp430/timer/Msp430ClockP.nc b/tos/chips/msp430/timer/Msp430ClockP.nc index 55aaba33..689175de 100644 --- a/tos/chips/msp430/timer/Msp430ClockP.nc +++ b/tos/chips/msp430/timer/Msp430ClockP.nc @@ -33,6 +33,7 @@ module Msp430ClockP @safe() { provides interface Init; provides interface Msp430ClockInit; + provides interface McuPowerOverride; } implementation { @@ -48,6 +49,9 @@ implementation TARGET_DCO_DELTA = (TARGET_DCO_KHZ / ACLK_KHZ) * ACLK_CALIB_PERIOD, }; + async command mcu_power_t McuPowerOverride.lowestState() { + return MSP430_POWER_LPM3; + } command void Msp430ClockInit.defaultSetupDcoCalibrate() {