From 1c95cdf649e7dd8aa630992f7bdfb695c620fab7 Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Mon, 9 Jun 2025 14:54:12 +0800 Subject: [PATCH] fix(hal): fix pmu_ll_ext1_clear_wakeup_status API --- components/hal/esp32p4/include/hal/pmu_ll.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/hal/esp32p4/include/hal/pmu_ll.h b/components/hal/esp32p4/include/hal/pmu_ll.h index 46f3f5902e..599dcbb79a 100644 --- a/components/hal/esp32p4/include/hal/pmu_ll.h +++ b/components/hal/esp32p4/include/hal/pmu_ll.h @@ -702,6 +702,7 @@ static inline uint32_t pmu_ll_ext1_get_wakeup_status(void) static inline void pmu_ll_ext1_clear_wakeup_status(void) { REG_SET_BIT(PMU_EXT_WAKEUP_CNTL_REG, PMU_EXT_WAKEUP_STATUS_CLR); + REG_CLR_BIT(PMU_EXT_WAKEUP_CNTL_REG, PMU_EXT_WAKEUP_STATUS_CLR); } /**