fix(adc): fix wrong adc channel on c61 adc/tsens test

This commit is contained in:
gaoxu
2025-06-11 17:37:56 +08:00
parent 42682b1e36
commit e8cefb33c8

View File

@@ -24,7 +24,7 @@
static const char *TAG = "adc_tsens"; static const char *TAG = "adc_tsens";
#define EXAMPLE_ADC1_CHAN0 ADC_CHANNEL_2 #define EXAMPLE_ADC1_CHAN0 ADC_CHANNEL_2
#define EXAMPLE_ADC1_CHAN1 ADC_CHANNEL_4 #define EXAMPLE_ADC1_CHAN1 ADC_CHANNEL_3
#define EXAMPLE_ADC_ATTEN ADC_ATTEN_DB_12 #define EXAMPLE_ADC_ATTEN ADC_ATTEN_DB_12
static int adc_raw[2][10]; static int adc_raw[2][10];