From c04ae0372984ecfb55e556a0b8a2bda7cb7d2950 Mon Sep 17 00:00:00 2001 From: gaoxu Date: Wed, 23 Apr 2025 11:33:06 +0800 Subject: [PATCH] fix(ADC): fix P4 ADC oneshot error when reread --- components/hal/esp32p4/include/hal/adc_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/hal/esp32p4/include/hal/adc_ll.h b/components/hal/esp32p4/include/hal/adc_ll.h index 7bec239818..cb5753857a 100644 --- a/components/hal/esp32p4/include/hal/adc_ll.h +++ b/components/hal/esp32p4/include/hal/adc_ll.h @@ -40,7 +40,7 @@ extern "C" { #define ADC_LL_DATA_INVERT_DEFAULT(PERIPH_NUM) (0) #define ADC_LL_SAR_CLK_DIV_DEFAULT(PERIPH_NUM) (1) #define LP_ADC_LL_SAR_CLK_DIV_DEFAULT(PERIPH_NUM) (2) -#define ADC_LL_DELAY_CYCLE_AFTER_DONE_SIGNAL (0) +#define ADC_LL_DELAY_CYCLE_AFTER_DONE_SIGNAL (10) /*--------------------------------------------------------------- DMA