diff --git a/kernel/include/los_task.h b/kernel/include/los_task.h index aae6d7d9480fa2abb45fcbcf04b4d5d68eed16a5..7bd594ddcc3fbe9c03969120cd684e949fa59e21 100644 --- a/kernel/include/los_task.h +++ b/kernel/include/los_task.h @@ -1088,25 +1088,24 @@ extern UINT32 LOS_NewTaskIDGet(VOID); */ extern CHAR* LOS_TaskNameGet(UINT32 taskID); - /* * - * @ingroup los_hw - * @brief: Function to determine whether task scheduling is required. + * @ingroup los_task + * @brief: cpu delay. * * @par Description: - * This API is used to Judge and entry task scheduling. + * This API is used to cpu delay, no task switching. * * @attention: * * - * @param None. + * @param ticks [IN] delay times. * * @retval: None. * @par Dependency: - * + * * @see None. */ -extern VOID LOS_Schedule(VOID); +extern VOID LOS_SysDelay(UINT32 ticks); /** * @ingroup los_cpup