[src][timer.c]:modify -RT_EOK to RT_EOK
This commit is contained in:
parent
c5a9371131
commit
4a43d3cdae
|
@ -220,7 +220,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer)
|
||||||
|
|
||||||
rt_object_detach((rt_object_t)timer);
|
rt_object_detach((rt_object_t)timer);
|
||||||
|
|
||||||
return -RT_EOK;
|
return RT_EOK;
|
||||||
}
|
}
|
||||||
RTM_EXPORT(rt_timer_detach);
|
RTM_EXPORT(rt_timer_detach);
|
||||||
|
|
||||||
|
@ -283,7 +283,7 @@ rt_err_t rt_timer_delete(rt_timer_t timer)
|
||||||
|
|
||||||
rt_object_delete((rt_object_t)timer);
|
rt_object_delete((rt_object_t)timer);
|
||||||
|
|
||||||
return -RT_EOK;
|
return RT_EOK;
|
||||||
}
|
}
|
||||||
RTM_EXPORT(rt_timer_delete);
|
RTM_EXPORT(rt_timer_delete);
|
||||||
#endif
|
#endif
|
||||||
|
@ -410,7 +410,7 @@ rt_err_t rt_timer_start(rt_timer_t timer)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return -RT_EOK;
|
return RT_EOK;
|
||||||
}
|
}
|
||||||
RTM_EXPORT(rt_timer_start);
|
RTM_EXPORT(rt_timer_start);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue