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)
333
333
return (24 * 1000 * 1000UL );
334
334
}
335
335
336
- uint64_t rt_ktime_hrtimer_getcnt (void )
337
- {
338
- return rk_timer_current_value (_timer0 .timer );
339
- }
340
-
341
336
/**
342
337
* @brief set the timeout function for hrtimer framework
343
338
*
Original file line number Diff line number Diff line change @@ -83,13 +83,6 @@ void rt_ktime_cputimer_init(void);
83
83
*/
84
84
rt_uint64_t rt_ktime_hrtimer_getfrq (void );
85
85
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
-
93
86
/**
94
87
* @brief set hrtimer interrupt timeout count (cnt), you should re-implemented it in hrtimer device driver
95
88
*
Original file line number Diff line number Diff line change @@ -32,11 +32,6 @@ rt_weak rt_uint64_t rt_ktime_hrtimer_getfrq(void)
32
32
return RT_TICK_PER_SECOND ;
33
33
}
34
34
35
- rt_weak unsigned long rt_ktime_hrtimer_getcnt (void )
36
- {
37
- return rt_tick_get ();
38
- }
39
-
40
35
rt_weak rt_err_t rt_ktime_hrtimer_settimeout (rt_uint64_t cnt )
41
36
{
42
37
static rt_timer_t timer = RT_NULL ;
You can’t perform that action at this time.
0 commit comments