summaryrefslogtreecommitdiff
path: root/components/drivers/ktime/src/hrtimer.c
diff options
context:
space:
mode:
authorYonggang Luo <[email protected]>2025-09-27 08:11:53 +0800
committerR b b666 <[email protected]>2025-10-21 10:25:41 +0800
commitd3e0a532036c0031c2a000cdc14e536e747abbfd (patch)
tree834cff0f6377467492480919fd6f1eaeda847541 /components/drivers/ktime/src/hrtimer.c
parent1efceab0711f741c649730dd5c6c04ab96881bad (diff)
Remove rt_ktime_hrtimer_getcnt for hrtimer
There is no user of it and also the return type is mismatch
Diffstat (limited to 'components/drivers/ktime/src/hrtimer.c')
-rw-r--r--components/drivers/ktime/src/hrtimer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/drivers/ktime/src/hrtimer.c b/components/drivers/ktime/src/hrtimer.c
index 728770ad46..ca579a5e98 100644
--- a/components/drivers/ktime/src/hrtimer.c
+++ b/components/drivers/ktime/src/hrtimer.c
@@ -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;