fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again

This commit is contained in:
Cao Sen Miao
2023-11-22 18:35:56 +08:00
parent 5bdcaef8c9
commit 9dd90e2d9b
9 changed files with 71 additions and 3 deletions

View File

@@ -112,6 +112,15 @@ static inline void brownout_ll_intr_clear(void)
RTCCNTL.int_clr.rtc_brown_out = 1;
}
/**
* @brief Clear BOD internal count.
*/
static inline void brownout_ll_clear_count(void)
{
// Not supported on esp32
}
#ifdef __cplusplus
}
#endif