[errno code][-RT_ERROR] fix that use RT_ERROR without -

This commit is contained in:
Meco Man
2023-03-17 00:12:16 -04:00
committed by Man, Jianting (Meco)
parent de963feef4
commit 0f461e870c
272 changed files with 639 additions and 644 deletions

View File

@@ -389,7 +389,7 @@ void rt_data_queue_reset(struct rt_data_queue *queue)
thread = rt_list_entry(queue->suspended_pop_list.next,
struct rt_thread,
tlist);
/* set error code to RT_ERROR */
/* set error code to -RT_ERROR */
thread->error = -RT_ERROR;
/*
@@ -413,7 +413,7 @@ void rt_data_queue_reset(struct rt_data_queue *queue)
thread = rt_list_entry(queue->suspended_push_list.next,
struct rt_thread,
tlist);
/* set error code to RT_ERROR */
/* set error code to -RT_ERROR */
thread->error = -RT_ERROR;
/*