* @brief Reset priority of the target thread */
| 407 | * @brief Reset priority of the target thread |
| 408 | */ |
| 409 | rt_err_t rt_sched_thread_reset_priority(struct rt_thread *thread, rt_uint8_t priority) |
| 410 | { |
| 411 | return _rt_sched_update_priority(thread, priority, RT_TRUE); |
| 412 | } |
| 413 | |
| 414 | #ifdef RT_USING_OVERFLOW_CHECK |
| 415 |
no test coverage detected