From b6e558d55d60fa3dcab0208e769becd5fcb95b54 Mon Sep 17 00:00:00 2001 From: "C.S.M" Date: Wed, 9 Oct 2024 16:23:23 +0800 Subject: [PATCH] fix(i2c_master): fix the sleep retention number on p4 --- components/soc/esp32p4/include/soc/retention_periph_defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/soc/esp32p4/include/soc/retention_periph_defs.h b/components/soc/esp32p4/include/soc/retention_periph_defs.h index 37c04d2071..48cf71404c 100644 --- a/components/soc/esp32p4/include/soc/retention_periph_defs.h +++ b/components/soc/esp32p4/include/soc/retention_periph_defs.h @@ -40,12 +40,12 @@ typedef enum periph_retention_module { SLEEP_RETENTION_MODULE_AXI_DMA_CH0 = 16, SLEEP_RETENTION_MODULE_AXI_DMA_CH1 = 17, SLEEP_RETENTION_MODULE_AXI_DMA_CH2 = 18, - SLEEP_RETENTION_MODULE_I2C0 = 19, - SLEEP_RETENTION_MODULE_I2C1 = 20, SLEEP_RETENTION_MODULE_I2S0 = 19, SLEEP_RETENTION_MODULE_I2S1 = 20, SLEEP_RETENTION_MODULE_I2S2 = 21, + SLEEP_RETENTION_MODULE_I2C0 = 22, + SLEEP_RETENTION_MODULE_I2C1 = 23, SLEEP_RETENTION_MODULE_MAX = 31 } periph_retention_module_t;