diff options
| author | Meco Man <[email protected]> | 2020-12-30 16:32:20 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2020-12-30 16:32:20 +0800 |
| commit | 63cd26b0d1a876cb8d87c3d60d5591d89dfbf297 (patch) | |
| tree | 42f67ef856e9c4342630ef0c6874cceb7e6bba96 /include | |
| parent | c2e15e003c60fd0aeb412dbc7c6deb1c1f55a0ef (diff) | |
update
Diffstat (limited to 'include')
| -rw-r--r-- | include/rthw.h | 5 | ||||
| -rw-r--r-- | include/rtthread.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/rthw.h b/include/rthw.h index c3960350b8..89877faf90 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -134,11 +134,6 @@ void rt_hw_exception_install(rt_err_t (*exception_handle)(void *context)); */ void rt_hw_us_delay(rt_uint32_t us); -/* - * provides a tick value ALWAYS in millisecond - */ -rt_tick_t rt_hw_1ms_tick_get(void); - #ifdef RT_USING_SMP typedef union { unsigned long slock; diff --git a/include/rtthread.h b/include/rtthread.h index 27cfea19e0..1e0094e73b 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -77,6 +77,7 @@ rt_tick_t rt_tick_get(void); void rt_tick_set(rt_tick_t tick); void rt_tick_increase(void); rt_tick_t rt_tick_from_millisecond(rt_int32_t ms); +rt_tick_t rt_tick_get_millisecond(void); void rt_system_timer_init(void); void rt_system_timer_thread_init(void); |
