* @brief This function will let current thread delay for some ticks. * * @param tick The delay ticks, in units of 1 OS Tick. * * @return Return the operation status. If the return value is `RT_EOK`, the * function is successfully executed. * If the return value is any other values, it means this operation failed. */
| 703 | * If the return value is any other values, it means this operation failed. |
| 704 | */ |
| 705 | rt_err_t rt_thread_delay(rt_tick_t tick) |
| 706 | { |
| 707 | return _thread_sleep(tick); |
| 708 | } |
| 709 | RTM_EXPORT(rt_thread_delay); |
| 710 | |
| 711 | /** |