mirror of
https://github.com/espressif/openthread.git
synced 2026-10-02 13:57:38 +00:00
[nrf52840] reinitialize all peripherals except uart for pseudo reset (#2878)
There are some problems if radio is not reinitialized during pseudo reset: * It may trigger unexpected otPlatRadioTxDone(), and cause the device to hang; * The uncleared radio timer queue is invalid, it may block the new added timer which has a larger targer time. Note: The clock init/deinit is disabled during radio init/deinit.
This commit is contained in:
+2
-2
@@ -65,12 +65,12 @@ static void clock_handler(nrf_drv_clock_evt_type_t event)
|
||||
|
||||
void nrf_802154_clock_init(void)
|
||||
{
|
||||
nrf_drv_clock_init();
|
||||
// Intentionally empty.
|
||||
}
|
||||
|
||||
void nrf_802154_clock_deinit(void)
|
||||
{
|
||||
nrf_drv_clock_uninit();
|
||||
// Intentionally empty.
|
||||
}
|
||||
|
||||
void nrf_802154_clock_hfclk_start(void)
|
||||
|
||||
Reference in New Issue
Block a user