summaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-03-17 00:12:16 -0400
committerMan, Jianting (Meco) <[email protected]>2023-03-20 00:06:16 -0400
commit0f461e870c481a24ce2690cca1949706bb80f9e7 (patch)
treee77c8813658be76824bb848346cf9ef2340806f2 /src/timer.c
parentde963feef4c5075626858c97413186fc2a309ffe (diff)
[errno code][-RT_ERROR] fix that use RT_ERROR without -
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c
index cfe4fc8678..4dba04c3fc 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -369,7 +369,7 @@ RTM_EXPORT(rt_timer_create);
*
* @param timer the timer to be deleted
*
- * @return the operation status, RT_EOK on OK; RT_ERROR on error
+ * @return the operation status, RT_EOK on OK; -RT_ERROR on error
*/
rt_err_t rt_timer_delete(rt_timer_t timer)
{