We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5a9371 + 4a43d3c commit 8b73db6Copy full SHA for 8b73db6
src/timer.c
@@ -220,7 +220,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer)
220
221
rt_object_detach((rt_object_t)timer);
222
223
- return -RT_EOK;
+ return RT_EOK;
224
}
225
RTM_EXPORT(rt_timer_detach);
226
@@ -283,7 +283,7 @@ rt_err_t rt_timer_delete(rt_timer_t timer)
283
284
rt_object_delete((rt_object_t)timer);
285
286
287
288
RTM_EXPORT(rt_timer_delete);
289
#endif
@@ -410,7 +410,7 @@ rt_err_t rt_timer_start(rt_timer_t timer)
410
411
412
413
414
415
RTM_EXPORT(rt_timer_start);
416
0 commit comments