From ee78f8761d2b0fbf9cbd9012646c3820b19a594f Mon Sep 17 00:00:00 2001 From: Zain Date: Mon, 29 Jan 2024 00:44:43 +0530 Subject: [PATCH] Update ADC attenuation value to ADC_ATTEN_DB_12, as per ESP-IDF 5.1.2 --- include/adc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/adc.h b/include/adc.h index 622356a..756ae7f 100644 --- a/include/adc.h +++ b/include/adc.h @@ -40,7 +40,7 @@ #include "esp_err.h" #include "pin_defs.h" -#define ADC_ATTEN ADC_ATTEN_DB_11 +#define ADC_ATTEN ADC_ATTEN_DB_12 /**