mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 03:07:47 +00:00
[nrf52480] Don't call PlatformDeinit() before NVIC_SystemReset() (#2385)
Calling `PlatformDeinit()` before calling `NVIC_SystemReset()` reduces the reliability of `otPlatReset()` to always work properly, and doing so seems superfluous if you are just going to reset the chip anyway. This fixes issue #2383.
This commit is contained in:
committed by
Jonathan Hui
parent
9f9fed5d2d
commit
bd05a73e38
@@ -71,8 +71,6 @@ void otPlatReset(otInstance *aInstance)
|
||||
{
|
||||
(void)aInstance;
|
||||
|
||||
PlatformDeinit();
|
||||
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user