mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-21 16:55:33 +00:00
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
This commit is contained in:
@@ -115,6 +115,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)
|
||||
{
|
||||
RTCCNTL.brown_out.cnt_clr = 1;
|
||||
RTCCNTL.brown_out.cnt_clr = 0;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user