diff options
| author | yangjie <[email protected]> | 2018-08-23 15:57:45 +0800 |
|---|---|---|
| committer | yangjie <[email protected]> | 2018-08-23 15:57:45 +0800 |
| commit | 4a43d3cdae1b731dcf51d3531048c51fd4142516 (patch) | |
| tree | f4073b4efdacbaab5b664e3618f947ce2abe032d /src/timer.c | |
| parent | c5a9371131690dd9ad216307ea8d214cbf79826f (diff) | |
[src][timer.c]:modify -RT_EOK to RT_EOK
Diffstat (limited to 'src/timer.c')
| -rw-r--r-- | src/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timer.c b/src/timer.c index 8354d43a43..042826f41b 100644 --- a/src/timer.c +++ b/src/timer.c @@ -220,7 +220,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer) rt_object_detach((rt_object_t)timer); - return -RT_EOK; + return RT_EOK; } 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); - return -RT_EOK; + return RT_EOK; } RTM_EXPORT(rt_timer_delete); #endif @@ -410,7 +410,7 @@ rt_err_t rt_timer_start(rt_timer_t timer) } #endif - return -RT_EOK; + return RT_EOK; } RTM_EXPORT(rt_timer_start); |
