Skip to content

Commit bf0e0b3

Browse files
yperesscfriedt
authored andcommitted
adc: esp32 add missing header
Without this header the logic in adc_esp32.c will never have either ADC_CALI_SCHEME_CURVE_FITTING_SUPPORTED or ADC_CALI_SCHEME_LINE_FITTING_SUPPORTED defined. This means that we always see the warnings aout uncalibrated samples. Signed-off-by: Yuval Peress <[email protected]>
1 parent b6c5d91 commit bf0e0b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/adc/adc_esp32.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <hal/adc_oneshot_hal.h>
99
#include <hal/adc_types.h>
1010
#include <esp_adc/adc_cali.h>
11+
#include <esp_adc/adc_cali_scheme.h>
1112

1213
#include <zephyr/kernel.h>
1314
#include <zephyr/drivers/adc.h>

0 commit comments

Comments
 (0)