[M2351] Fix SystemCoreClockUpdate isn't called in non-secure domain

pull/7302/head
ccli8 2018-02-27 10:58:44 +08:00
parent 0cb7633356
commit 2aa2b7eb00
1 changed files with 2 additions and 0 deletions

View File

@ -73,5 +73,7 @@ void mbed_sdk_init(void)
/* Lock protected registers */ /* Lock protected registers */
SYS_LockReg(); SYS_LockReg();
#else
SystemCoreClockUpdate();
#endif #endif
} }