mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 21:57:47 +00:00
[nrf52840] set initialized state to false in nrf_drv_clock_uninit() (#2850)
Fix an issue that application could not reinitialize the clock again after nrf_drv_clock_uninit().
This commit is contained in:
@@ -190,6 +190,7 @@ void nrf_drv_clock_uninit(void)
|
||||
ASSERT(m_clock_cb.module_initialized);
|
||||
nrfx_clock_disable();
|
||||
nrfx_clock_uninit();
|
||||
m_clock_cb.module_initialized = false;
|
||||
}
|
||||
|
||||
static void item_enqueue(nrf_drv_clock_handler_item_t ** p_head,
|
||||
|
||||
Reference in New Issue
Block a user