mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
[sam] fixing typo in comment
This commit is contained in:
parent
7cbb284eb4
commit
f77fcec4e9
@ -62,7 +62,7 @@ uint32_t analogRead( uint32_t ulPin )
|
||||
// Read the value
|
||||
ulValue=adc_get_value( ADC, ulChannel ) ;
|
||||
|
||||
// Enable the corresponding channel
|
||||
// Disable the corresponding channel
|
||||
adc_disable_channel( ADC, ulChannel ) ;
|
||||
|
||||
// Stop the ADC
|
||||
@ -93,7 +93,7 @@ uint32_t analogRead( uint32_t ulPin )
|
||||
// Stop the ADC12B
|
||||
// adc12_stop( ADC12B ) ; // never do adc12_stop() else we have to reconfigure the ADC12B each time
|
||||
|
||||
// Enable the corresponding channel
|
||||
// Disable the corresponding channel
|
||||
adc12_disable_channel( ADC12B, ulChannel-ADC8 ) ;
|
||||
break ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user