mirror of
https://github.com/apache/nuttx.git
synced 2026-08-30 13:43:09 +00:00
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:
parent
15f6e399b8
commit
813ab962f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue