X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmicore%2FMoteClockP.nc;h=a3353972854fe9a639a7208464269bf4e733a28e;hb=33953a2e344b09fcd13b3bc53a421da4c51336d7;hp=ca169f2758f1ec079134cef2b355f1377dd0c402;hpb=e9bfab607e051bae6afb47b44892ce37541d1b44;p=tinyos-2.x.git diff --git a/tos/platforms/tmicore/MoteClockP.nc b/tos/platforms/tmicore/MoteClockP.nc index ca169f27..a3353972 100644 --- a/tos/platforms/tmicore/MoteClockP.nc +++ b/tos/platforms/tmicore/MoteClockP.nc @@ -39,9 +39,12 @@ module MoteClockP { } implementation { + MSP430REG_NORACE(TAIV); + MSP430REG_NORACE(TBIV); + command error_t Init.init() { - uint16_t i; + volatile uint16_t i; #if defined (CALDCO_8MHZ_) && !defined(__DisableCalData) if (CALBC1_8MHZ != 0xff || CALDCO_8MHZ != 0xff) {