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

This commit is contained in:
Meco Man
2023-03-22 01:54:52 -04:00
committed by Man, Jianting (Meco)
parent 87c57f86f7
commit eb3cb250be
13 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ RTM_EXPORT(rt_data_queue_init);
* @param timeout is the waiting time.
*
* @return Return the operation status. When the return value is RT_EOK, the operation is successful.
* When the return value is RT_ETIMEOUT, it means the specified time out.
* When the return value is -RT_ETIMEOUT, it means the specified time out.
*/
rt_err_t rt_data_queue_push(struct rt_data_queue *queue,
const void *data_ptr,
@@ -201,7 +201,7 @@ RTM_EXPORT(rt_data_queue_push);
* @param timeout is the waiting time.
*
* @return Return the operation status. When the return value is RT_EOK, the operation is successful.
* When the return value is RT_ETIMEOUT, it means the specified time out.
* When the return value is -RT_ETIMEOUT, it means the specified time out.
*/
rt_err_t rt_data_queue_pop(struct rt_data_queue *queue,
const void **data_ptr,