mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[nrf52840] don't reinitialize cc310 during pseudo reset (#2897)
The device hangs when reinitialize cc310.
This commit is contained in:
@@ -78,12 +78,12 @@ void PlatformInit(int argc, char *argv[])
|
||||
if (!gPlatformPseudoResetWasRequested)
|
||||
{
|
||||
nrf5UartInit();
|
||||
nrf5CryptoInit();
|
||||
}
|
||||
#ifndef SPIS_TRANSPORT_DISABLE
|
||||
nrf5SpiSlaveInit();
|
||||
#endif
|
||||
nrf5MiscInit();
|
||||
nrf5CryptoInit();
|
||||
nrf5RadioInit();
|
||||
nrf5TempInit();
|
||||
|
||||
@@ -94,13 +94,13 @@ void PlatformDeinit(void)
|
||||
{
|
||||
nrf5TempDeinit();
|
||||
nrf5RadioDeinit();
|
||||
nrf5CryptoDeinit();
|
||||
nrf5MiscDeinit();
|
||||
#ifndef SPIS_TRANSPORT_DISABLE
|
||||
nrf5SpiSlaveDeinit();
|
||||
#endif
|
||||
if (!gPlatformPseudoResetWasRequested)
|
||||
{
|
||||
nrf5CryptoDeinit();
|
||||
nrf5UartDeinit();
|
||||
}
|
||||
nrf5RandomDeinit();
|
||||
|
||||
Reference in New Issue
Block a user