]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/msp430/McuSleepC.nc
Wrong definition. __MSP430_HAS_ADC12 has trailing underscores.
[tinyos-2.x.git] / tos / chips / msp430 / McuSleepC.nc
index 77a638da0a73cbfc1eb532ecffda2080e7a3807f..dbe70912c8d3879cddceb49ee2eae600afcb85fe 100644 (file)
@@ -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){