diff options
Diffstat (limited to 'src/timer.c')
| -rw-r--r-- | src/timer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timer.c b/src/timer.c index 78079ebc81..3a6337ab15 100644 --- a/src/timer.c +++ b/src/timer.c @@ -120,6 +120,7 @@ void rt_timer_init(rt_timer_t timer, _rt_timer_init(timer, timeout, parameter, time, flag); } +RTM_EXPORT(rt_timer_init); /** * This function will detach a timer from timer management. @@ -148,6 +149,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer) return -RT_EOK; } +RTM_EXPORT(rt_timer_detach); #ifdef RT_USING_HEAP /** @@ -177,6 +179,7 @@ rt_timer_t rt_timer_create(const char *name, void (*timeout)(void *parameter), return timer; } +RTM_EXPORT(rt_timer_create); /** * This function will delete a timer and release timer memory @@ -205,6 +208,7 @@ rt_err_t rt_timer_delete(rt_timer_t timer) return -RT_EOK; } +RTM_EXPORT(rt_timer_delete); #endif /** @@ -287,6 +291,7 @@ rt_err_t rt_timer_start(rt_timer_t timer) return -RT_EOK; } +RTM_EXPORT(rt_timer_start); /** * This function will stop the timer @@ -320,6 +325,7 @@ rt_err_t rt_timer_stop(rt_timer_t timer) return RT_EOK; } +RTM_EXPORT(rt_timer_stop); /** * This function will get or set some options of the timer @@ -356,6 +362,7 @@ rt_err_t rt_timer_control(rt_timer_t timer, rt_uint8_t cmd, void *arg) return RT_EOK; } +RTM_EXPORT(rt_timer_control); /** * This function will check timer list, if a timeout event happens, the |
