Skip to content

Commit

Permalink
Merge branch 'fix/adc_channel_num_caps_v5.3' into 'release/v5.3'
Browse files Browse the repository at this point in the history
fix(adc): Corrected the ADC channel number caps for esp32p4 (v5.3)

See merge request espressif/esp-idf!33239
  • Loading branch information
suda-morris committed Sep 4, 2024
2 parents 29b43f3 + e7b582d commit a3f1ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/soc/esp32p4/include/soc/soc_caps.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
#define SOC_ADC_DIG_SUPPORTED_UNIT(UNIT) 1 //Digital controller supported ADC unit
#define SOC_ADC_DMA_SUPPORTED 1
#define SOC_ADC_PERIPH_NUM (2)
#define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 6: 8)
#define SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 8: 6)
#define SOC_ADC_MAX_CHANNEL_NUM (8)
#define SOC_ADC_ATTEN_NUM (4)

Expand Down

0 comments on commit a3f1ec0

Please sign in to comment.