File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed
bsp/rockchip/rk3500/driver/hwtimer Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -333,11 +333,6 @@ rt_uint64_t rt_ktime_hrtimer_getfrq(void)
333333 return (24 * 1000 * 1000UL );
334334}
335335
336- uint64_t rt_ktime_hrtimer_getcnt (void )
337- {
338- return rk_timer_current_value (_timer0 .timer );
339- }
340-
341336/**
342337 * @brief set the timeout function for hrtimer framework
343338 *
Original file line number Diff line number Diff line change @@ -83,13 +83,6 @@ void rt_ktime_cputimer_init(void);
8383 */
8484rt_uint64_t rt_ktime_hrtimer_getfrq (void );
8585
86- /**
87- * @brief Get hrtimer the value of the cnt counter
88- *
89- * @return cnt
90- */
91- unsigned long rt_ktime_hrtimer_getcnt (void );
92-
9386/**
9487 * @brief set hrtimer interrupt timeout count (cnt), you should re-implemented it in hrtimer device driver
9588 *
Original file line number Diff line number Diff line change @@ -32,11 +32,6 @@ rt_weak rt_uint64_t rt_ktime_hrtimer_getfrq(void)
3232 return RT_TICK_PER_SECOND ;
3333}
3434
35- rt_weak unsigned long rt_ktime_hrtimer_getcnt (void )
36- {
37- return rt_tick_get ();
38- }
39-
4035rt_weak rt_err_t rt_ktime_hrtimer_settimeout (rt_uint64_t cnt )
4136{
4237 static rt_timer_t timer = RT_NULL ;
You can’t perform that action at this time.
0 commit comments