Merge pull request #1732 from yangjie11/master

[src][timer.c]:modify -RT_EOK to RT_EOK
This commit is contained in:
Bernard Xiong 2018-08-23 16:38:46 +08:00 committed by GitHub
commit 8b73db6c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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);