mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Separate CLOCK_TIMEKEEPING and SCHED_TICKLESS.
This commit is contained in:
committed by
Xiang Xiao
parent
fa5daea3d9
commit
9c8c2b0db2
@@ -246,7 +246,9 @@ void up_timer_getmask(FAR uint64_t *mask)
|
||||
}
|
||||
}
|
||||
}
|
||||
#elif defined(CONFIG_SCHED_TICKLESS)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SCHED_TICKLESS)
|
||||
int up_timer_gettime(FAR struct timespec *ts)
|
||||
{
|
||||
int ret = -EAGAIN;
|
||||
|
||||
@@ -301,8 +301,9 @@ void up_timer_getmask(FAR uint64_t *mask)
|
||||
*mask = next;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#elif defined(CONFIG_SCHED_TICKLESS)
|
||||
#if defined(CONFIG_SCHED_TICKLESS)
|
||||
int up_timer_gettime(FAR struct timespec *ts)
|
||||
{
|
||||
int ret = -EAGAIN;
|
||||
|
||||
Reference in New Issue
Block a user