Add logic for measgap scheduling

This commit is contained in:
rmagueta
2025-07-11 18:09:23 +01:00
parent dfbb6b1509
commit 932b177667
6 changed files with 51 additions and 2 deletions
+5
View File
@@ -1415,6 +1415,11 @@ uint32_t nr_timer_elapsed_time(const NR_timer_t *timer)
return timer->counter;
}
uint32_t nr_timer_remaining_time(const NR_timer_t *timer)
{
return timer->target - timer->counter;
}
void nr_timer_setup(NR_timer_t *timer, const uint32_t target, const uint32_t step)
{
timer->target = target;