From 0fd6351bcfe6182e6d0605ec5e2c849eb13274a0 Mon Sep 17 00:00:00 2001 From: "C.S.M" Date: Mon, 30 Mar 2026 11:28:15 +0800 Subject: [PATCH] fix(bod): Fix bod build failed on esp32h21 --- components/soc/esp32h21/include/soc/regi2c_brownout.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/soc/esp32h21/include/soc/regi2c_brownout.h b/components/soc/esp32h21/include/soc/regi2c_brownout.h index dc2390d804..bad3a1ef29 100644 --- a/components/soc/esp32h21/include/soc/regi2c_brownout.h +++ b/components/soc/esp32h21/include/soc/regi2c_brownout.h @@ -6,8 +6,6 @@ #pragma once -#include "regi2c_pmu.h" - /** * @file regi2c_brownout.h * @brief Register definitions for brownout detector @@ -16,8 +14,8 @@ * bus. These definitions are used via macros defined in regi2c_ctrl.h. */ -#define I2C_BOD I2C_PMU -#define I2C_BOD_HOSTID I2C_PMU_HOSTID +#define I2C_BOD 0x6D +#define I2C_BOD_HOSTID 0 #define I2C_BOD_THRESHOLD 0xD #define I2C_BOD_THRESHOLD_MSB 6