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

Merge pull request !341 from kenneth/HalTickStart
This commit is contained in:
openharmony_ci 2021-10-11 09:19:08 +00:00 committed by Gitee
commit badf1e9557
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {