Skip to content

Commit 8b73db6

Browse files
authored
Merge pull request #1732 from yangjie11/master
[src][timer.c]:modify -RT_EOK to RT_EOK
2 parents c5a9371 + 4a43d3c commit 8b73db6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/timer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer)
220220

221221
rt_object_detach((rt_object_t)timer);
222222

223-
return -RT_EOK;
223+
return RT_EOK;
224224
}
225225
RTM_EXPORT(rt_timer_detach);
226226

@@ -283,7 +283,7 @@ rt_err_t rt_timer_delete(rt_timer_t timer)
283283

284284
rt_object_delete((rt_object_t)timer);
285285

286-
return -RT_EOK;
286+
return RT_EOK;
287287
}
288288
RTM_EXPORT(rt_timer_delete);
289289
#endif
@@ -410,7 +410,7 @@ rt_err_t rt_timer_start(rt_timer_t timer)
410410
}
411411
#endif
412412

413-
return -RT_EOK;
413+
return RT_EOK;
414414
}
415415
RTM_EXPORT(rt_timer_start);
416416

0 commit comments

Comments
 (0)