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 @@ -338,11 +338,6 @@ uint64_t rt_ktime_hrtimer_getres(void)
338338 return ((1000UL * 1000 * 1000 ) * RT_KTIME_RESMUL ) / (24 * 1000 * 1000UL );
339339}
340340
341- uint64_t rt_ktime_hrtimer_getcnt (void )
342- {
343- return rk_timer_current_value (_timer0 .timer );
344- }
345-
346341/**
347342 * @brief set the timeout function for hrtimer framework
348343 *
Original file line number Diff line number Diff line change @@ -106,13 +106,6 @@ rt_uint64_t rt_ktime_hrtimer_getres(void);
106106 */
107107unsigned long rt_ktime_hrtimer_getfrq (void );
108108
109- /**
110- * @brief Get hrtimer the value of the cnt counter
111- *
112- * @return cnt
113- */
114- unsigned long rt_ktime_hrtimer_getcnt (void );
115-
116109/**
117110 * @brief set hrtimer interrupt timeout count (cnt), you should re-implemented it in hrtimer device driver
118111 *
Original file line number Diff line number Diff line change @@ -43,11 +43,6 @@ rt_weak unsigned long rt_ktime_hrtimer_getfrq(void)
4343 return RT_TICK_PER_SECOND ;
4444}
4545
46- rt_weak unsigned long rt_ktime_hrtimer_getcnt (void )
47- {
48- return rt_tick_get ();
49- }
50-
5146rt_weak rt_err_t rt_ktime_hrtimer_settimeout (unsigned long cnt )
5247{
5348 static rt_timer_t timer = RT_NULL ;
You can’t perform that action at this time.
0 commit comments