mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual attenuation will be 11dB more or less
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#define EXAMPLE_ADC_CHANNEL ADC_CHANNEL_0
|
||||
#define EXAMPLE_ADC_UNIT ADC_UNIT_1
|
||||
#define EXAMPLE_ADC_ATTEN ADC_ATTEN_DB_11
|
||||
#define EXAMPLE_ADC_ATTEN ADC_ATTEN_DB_12
|
||||
#define EXAMPLE_ADC_WIDTH ADC_BITWIDTH_DEFAULT
|
||||
|
||||
/* Set high threshold, approx. 1.75V*/
|
||||
|
||||
Reference in New Issue
Block a user