diff options
| author | Bernard Xiong <[email protected]> | 2019-12-19 09:45:58 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2019-12-19 09:45:58 +0800 |
| commit | 2c1f7b73a73f6e5aae7c9bbb1c38a609e39a1a08 (patch) | |
| tree | 2825a0ec2e20453cedbf3fcbb440ef2bdfcbca37 /src | |
| parent | df57b9014c07fbb3afdc33c1dc94c55c2dba0359 (diff) | |
[Kernel] fix typo in rthread_delay
Diffstat (limited to 'src')
| -rw-r--r-- | src/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.c b/src/thread.c index 041dfab879..3a3c97d0b6 100644 --- a/src/thread.c +++ b/src/thread.c @@ -531,14 +531,14 @@ rt_err_t rt_thread_delay(rt_tick_t tick) RTM_EXPORT(rt_thread_delay); /** - * This function will let current thread delay util (*tick + inc_tick). + * This function will let current thread delay until (*tick + inc_tick). * * @param tick the tick of last wakeup. * @param inc_tick the increment tick * * @return RT_EOK */ -rt_err_t rt_thread_delay_util(rt_tick_t *tick, rt_tick_t inc_tick) +rt_err_t rt_thread_delay_until(rt_tick_t *tick, rt_tick_t inc_tick) { register rt_base_t level; struct rt_thread *thread; |
