diff --git a/kernel/core/include/tos_robin.h b/kernel/core/include/tos_robin.h index ae5947105b6e3b6e45a5f2d2d910cc9f26a6e31d..675ed90786acb28549c4f41b75798756efd834d3 100644 --- a/kernel/core/include/tos_robin.h +++ b/kernel/core/include/tos_robin.h @@ -37,20 +37,19 @@ __API__ void tos_robin_timeslice_set(k_task_t *task, k_timeslice_t timeslice) /** * @brief Configure round robin. - * Set the round robin state and the default time slice of the task. + * Set the default time slice of the task. * * @attention None * - * @param[in] robin_state state of the round robin. * @param[in] default_timeslice default time slice of the task. * * @return None */ __API__ void tos_robin_default_timeslice_config(k_timeslice_t default_timeslice); -__KNL__ void robin_sched(k_prio_t prio); +__KNL__ void robin_sched(k_prio_t prio); -#endif +#endif /* TOS_CFG_ROUND_ROBIN_EN */ __CDECLS_END