From 13abf1ed2e8680acf2daf3010805e5647d835cc9 Mon Sep 17 00:00:00 2001 From: Christian Winkler Date: Fri, 19 Feb 2021 10:40:42 +0100 Subject: [PATCH] Fix adc-channel typo Merges https://github.com/espressif/esp-idf/pull/6577 --- components/driver/include/driver/adc_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/driver/include/driver/adc_common.h b/components/driver/include/driver/adc_common.h index 0400ee3788..f083b32d24 100644 --- a/components/driver/include/driver/adc_common.h +++ b/components/driver/include/driver/adc_common.h @@ -49,8 +49,8 @@ typedef enum { ADC1_CHANNEL_5, /*!< ADC1 channel 5 is GPIO6 */ ADC1_CHANNEL_6, /*!< ADC1 channel 6 is GPIO7 */ ADC1_CHANNEL_7, /*!< ADC1 channel 7 is GPIO8 */ - ADC1_CHANNEL_8, /*!< ADC1 channel 6 is GPIO9 */ - ADC1_CHANNEL_9, /*!< ADC1 channel 7 is GPIO10 */ + ADC1_CHANNEL_8, /*!< ADC1 channel 8 is GPIO9 */ + ADC1_CHANNEL_9, /*!< ADC1 channel 9 is GPIO10 */ ADC1_CHANNEL_MAX, } adc1_channel_t; #elif CONFIG_IDF_TARGET_ESP32C3