提交 2026102c 编写于 作者: Z zhangfanfan2 提交者: Gitee

初始化系统时钟

上级 8ba22570
......@@ -156,11 +156,9 @@ LITE_OS_SEC_TEXT_INIT INT32 main(VOID)
OsSetMainTask();
OsCurrTaskSet(OsGetMainTask());
/* set smp system counter freq */
#if (LOSCFG_KERNEL_SMP == YES)
/* set system counter freq */
#ifndef LOSCFG_TEE_ENABLE
HalClockFreqWrite(OS_SYS_CLOCK);
#endif
#endif
/* system and chip info */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册