Separate CLOCK_TIMEKEEPING and SCHED_TICKLESS.

This commit is contained in:
Anthony Merlino
2021-04-10 19:58:15 -04:00
committed by Xiang Xiao
parent fa5daea3d9
commit 9c8c2b0db2
7 changed files with 48 additions and 32 deletions
+3 -1
View File
@@ -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;
+2 -1
View File
@@ -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;