diff options
Diffstat (limited to 'nuttx/configs/stm3210e-eval/src/up_adc.c')
-rw-r--r-- | nuttx/configs/stm3210e-eval/src/up_adc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/stm3210e-eval/src/up_adc.c b/nuttx/configs/stm3210e-eval/src/up_adc.c index fa05f547b..75ac6610a 100644 --- a/nuttx/configs/stm3210e-eval/src/up_adc.c +++ b/nuttx/configs/stm3210e-eval/src/up_adc.c @@ -76,19 +76,19 @@ /* The number of ADC channels in the conversion list */ -#define ADC_NCHANNELS 2 +#define ADC_NCHANNELS 1 /************************************************************************************ * Private Data ************************************************************************************/ -/* Identifying number of each ADC channel: Variable Resistor and BNC_CN5 */ +/* Identifying number of each ADC channel: Variable Resistor */ -static const uint8_t g_chanlist[ADC_NCHANNELS] = {14, 11}; +static const uint8_t g_chanlist[ADC_NCHANNELS] = {14}; /* Configurations of pins used byte each ADC channels */ -static const uint32_t g_pinlist[ADC_NCHANNELS] = {GPIO_ADC1_IN14 , GPIO_ADC1_IN11}; +static const uint32_t g_pinlist[ADC_NCHANNELS] = {GPIO_ADC1_IN14}; /************************************************************************************ * Private Functions |