Remove rt_ktime_hrtimer_getcnt for hrtimer

There is no user of it and also the return type is mismatch
This commit is contained in:
Yonggang Luo
2025-09-27 08:11:53 +08:00
committed by R b b666
parent 1efceab071
commit d3e0a53203
3 changed files with 0 additions and 17 deletions

View File

@@ -106,13 +106,6 @@ rt_uint64_t rt_ktime_hrtimer_getres(void);
*/
unsigned long rt_ktime_hrtimer_getfrq(void);
/**
* @brief Get hrtimer the value of the cnt counter
*
* @return cnt
*/
unsigned long rt_ktime_hrtimer_getcnt(void);
/**
* @brief set hrtimer interrupt timeout count (cnt), you should re-implemented it in hrtimer device driver
*

View File

@@ -43,11 +43,6 @@ rt_weak unsigned long rt_ktime_hrtimer_getfrq(void)
return RT_TICK_PER_SECOND;
}
rt_weak unsigned long rt_ktime_hrtimer_getcnt(void)
{
return rt_tick_get();
}
rt_weak rt_err_t rt_ktime_hrtimer_settimeout(unsigned long cnt)
{
static rt_timer_t timer = RT_NULL;