[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:
Robert Quattlebaum
2017-12-04 16:41:57 +00:00
committed by Jonathan Hui
parent 9f9fed5d2d
commit bd05a73e38
-2
View File
@@ -71,8 +71,6 @@ void otPlatReset(otInstance *aInstance)
{
(void)aInstance;
PlatformDeinit();
NVIC_SystemReset();
}