Let SystemCoreClock use the calculated value
This commit is contained in:
parent
e289cbe802
commit
986392d48c
|
@ -480,7 +480,6 @@ void NUC123_clock_init(void)
|
||||||
#endif /* NUC123_LSI_ENABLED */
|
#endif /* NUC123_LSI_ENABLED */
|
||||||
|
|
||||||
set_core_clock(NUC123_HCLK);
|
set_core_clock(NUC123_HCLK);
|
||||||
SystemCoreClock = NUC123_HCLK;
|
|
||||||
|
|
||||||
LOCKREG();
|
LOCKREG();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue