File tree 2 files changed +2
-2
lines changed
hardware/arduino/sam/cores/arduino
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ARDUINO 1.5.6 BETA
10
10
11
11
[core]
12
12
* sam: Fixed wrap-around bug in delay() (Mark Tillotson)
13
- * sam: Fixed regression in analogRead() (fails to read multiple channels)
13
+ * sam: Fixed regression in analogRead() (fails to read multiple channels) (Mark Tillotson)
14
14
15
15
ARDUINO 1.5.5 BETA 2013.11.28
16
16
Original file line number Diff line number Diff line change @@ -149,9 +149,9 @@ uint32_t analogRead(uint32_t ulPin)
149
149
150
150
// Enable the corresponding channel
151
151
if (ulChannel != latestSelectedChannel ) {
152
+ adc_enable_channel ( ADC , ulChannel );
152
153
if ( latestSelectedChannel != -1 )
153
154
adc_disable_channel ( ADC , latestSelectedChannel );
154
- adc_enable_channel ( ADC , ulChannel );
155
155
latestSelectedChannel = ulChannel ;
156
156
}
157
157
You can’t perform that action at this time.
0 commit comments