mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #9802 from orenc17/patch-2
Fix psa_system_reset() on PSA IPC platformpull/9666/head
commit
497d0d65c3
|
@ -59,7 +59,7 @@ psa_status_t mbed_psa_reboot_and_request_new_security_state(uint32_t new_state)
|
||||||
|
|
||||||
MBED_NORETURN void psa_system_reset(void)
|
MBED_NORETURN void psa_system_reset(void)
|
||||||
{
|
{
|
||||||
psa_handle_t conn = psa_connect(PSA_PLATFORM_LC_SET, 1);
|
psa_handle_t conn = psa_connect(PSA_PLATFORM_SYSTEM_RESET, 1);
|
||||||
if (conn <= PSA_NULL_HANDLE) {
|
if (conn <= PSA_NULL_HANDLE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue