nuttx/drivers: merge tickless and tick process

merge nxsched_timer_expiration() into nxsched_process_timer()
    to improve code efficient

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2026-01-12 11:31:11 +08:00
committed by Xiang Xiao
parent 15f6e399b8
commit 813ab962f5
+1 -1
View File
@@ -174,7 +174,7 @@ static bool timer_callback(FAR uint32_t *next_interval, FAR void *arg)
g_timer.timebase += *next_interval;
temp_interval = g_oneshot_maxticks;
g_timer.next_interval = &temp_interval;
nxsched_timer_expiration();
nxsched_process_timer();
g_timer.next_interval = NULL;
TIMER_TICK_GETSTATUS(g_timer.lower, &status);