From 0f461e870c481a24ce2690cca1949706bb80f9e7 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 17 Mar 2023 00:12:16 -0400 Subject: [errno code][-RT_ERROR] fix that use RT_ERROR without - --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timer.c') 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) { -- cgit v1.3.1