]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Wrong definition. __MSP430_HAS_ADC12 has trailing underscores.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Wed, 1 Apr 2009 00:41:26 +0000 (00:41 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:17 +0000 (20:01 -0700)
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){