From f77fcec4e9149d2a6a7737fc3c66732e8fe7f57b Mon Sep 17 00:00:00 2001 From: Thibaut VIARD Date: Mon, 21 Nov 2011 12:18:21 +0100 Subject: [PATCH] [sam] fixing typo in comment --- hardware/sam/cores/sam/wiring_analog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/sam/cores/sam/wiring_analog.c b/hardware/sam/cores/sam/wiring_analog.c index da655f497..9aa245871 100644 --- a/hardware/sam/cores/sam/wiring_analog.c +++ b/hardware/sam/cores/sam/wiring_analog.c @@ -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 ;