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

修复HalTickStart函数定义和实现中的参数类型保持一致

close #I4D1HY

Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
kenneth 2021-10-09 17:37:08 +08:00
parent adaefc6133
commit 07ab6a5b77
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)) {