提交 badf1e95 编写于 作者: O openharmony_ci 提交者: Gitee

!341 fix: csky等新增模块的HalTickStart函数定义和实现不一致

Merge pull request !341 from kenneth/HalTickStart
...@@ -63,7 +63,7 @@ Input : none ...@@ -63,7 +63,7 @@ Input : none
output : none output : none
return : LOS_OK - Success , or LOS_ERRNO_TICK_CFG_INVALID - failed return : LOS_OK - Success , or LOS_ERRNO_TICK_CFG_INVALID - failed
**************************************************************************** */ **************************************************************************** */
WEAK UINT32 HalTickStart(OS_TICK_HANDLER *handler) WEAK UINT32 HalTickStart(OS_TICK_HANDLER handler)
{ {
if ((OS_SYS_CLOCK == 0) || (LOSCFG_BASE_CORE_TICK_PER_SECOND == 0) || if ((OS_SYS_CLOCK == 0) || (LOSCFG_BASE_CORE_TICK_PER_SECOND == 0) ||
(LOSCFG_BASE_CORE_TICK_PER_SECOND > OS_SYS_CLOCK)) { (LOSCFG_BASE_CORE_TICK_PER_SECOND > OS_SYS_CLOCK)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册