diff --git a/kernel/core/include/tos_completion.h b/kernel/core/include/tos_completion.h index bbaae49a..dac660f2 100644 --- a/kernel/core/include/tos_completion.h +++ b/kernel/core/include/tos_completion.h @@ -83,7 +83,6 @@ __API__ k_err_t tos_completion_pend_timed(k_completion_t *completion, k_tick_t t * @attention None * * @param[in] completion pointer to the handler of the completion. - * @param[in] timeout how much time(in k_tick_t) we would like to wait. * * @return errcode * @retval #K_ERR_PEND_SCHED_LOCKED we can wait, but scheduler is locked. diff --git a/kernel/core/include/tos_priority_queue.h b/kernel/core/include/tos_priority_queue.h index 4c75ebc1..729cc841 100644 --- a/kernel/core/include/tos_priority_queue.h +++ b/kernel/core/include/tos_priority_queue.h @@ -106,8 +106,6 @@ __API__ k_err_t tos_prio_q_destroy(k_prio_q_t *prio_q); * @attention if we wanna create a priority queue, we should offer a manager array buffer of which the size can be calculated by TOS_PRIO_Q_MGR_ARRAY_SIZE. * * @param[in] prio_q pointer to the handler of the priority queue. - * @param[in] mgr_array manager array buffer of the priority queue. - * @param[in] pool pool buffer of the priority queue. * @param[in] item_cnt item count of the priority queue. * @param[in] item_size size of each item of the priority queue. * diff --git a/kernel/core/include/tos_rwlock.h b/kernel/core/include/tos_rwlock.h index 6225e8d9..1c56c65b 100644 --- a/kernel/core/include/tos_rwlock.h +++ b/kernel/core/include/tos_rwlock.h @@ -69,6 +69,7 @@ __API__ k_err_t tos_rwlock_destroy(k_rwlock_t *rwlock); * and no writers can hold the write-lock. * * @param[in] rwlock the read-write lock. + * @param[in] timeout how much time(in k_tick_t) we would like to wait. * * @return errcode * @retval #K_ERR_NONE return successfully. @@ -110,6 +111,7 @@ __API__ k_err_t tos_rwlock_rpend_try(k_rwlock_t *rwlock); * and no readers can hold the read-lock. * * @param[in] rwlock the read-write lock. + * @param[in] timeout how much time(in k_tick_t) we would like to wait. * * @return errcode * @retval #K_ERR_NONE return successfully.