mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
rtcio: fix rtcio unhold function
Solve problems caused by code refactoring. Closes https://github.com/espressif/esp-idf/issues/4600
This commit is contained in:
parent
3b498a0576
commit
7a5b67b8de
@ -237,6 +237,7 @@ static inline void rtcio_ll_force_hold_enable(int rtcio_num)
|
||||
static inline void rtcio_ll_force_hold_disable(int rtcio_num)
|
||||
{
|
||||
REG_CLR_BIT(RTC_CNTL_HOLD_FORCE_REG, rtc_io_desc[rtcio_num].hold_force);
|
||||
REG_CLR_BIT(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].hold);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user