From: smckown Date: Wed, 1 Apr 2009 00:41:26 +0000 (+0000) Subject: Wrong definition. __MSP430_HAS_ADC12 has trailing underscores. X-Git-Tag: release/2.1.0-1~20 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=e042912a1ce051595356c8faaeaf5b1ba9d17e02 Wrong definition. __MSP430_HAS_ADC12 has trailing underscores. --- diff --git a/tos/chips/msp430/McuSleepC.nc b/tos/chips/msp430/McuSleepC.nc index 77a638da..dbe70912 100644 --- a/tos/chips/msp430/McuSleepC.nc +++ b/tos/chips/msp430/McuSleepC.nc @@ -84,7 +84,7 @@ implementation { ) pState = MSP430_POWER_LPM1; -#ifdef __MSP430_HAS_ADC12 +#ifdef __MSP430_HAS_ADC12__ // ADC12 check, pre-condition: pState != MSP430_POWER_ACTIVE if (ADC12CTL0 & ADC12ON){ if (ADC12CTL1 & ADC12SSEL_2){