anchao commented on code in PR #15139:
URL: https://github.com/apache/nuttx/pull/15139#discussion_r1881327651


##########
sched/clock/clock_systime_timespec.c:
##########
@@ -77,13 +77,17 @@ int clock_systime_timespec(FAR struct timespec *ts)
       ts->tv_sec = 0;
       ts->tv_nsec = 0;
     }
-#elif defined(CONFIG_SCHED_TICKLESS_TICK_ARGUMENT)
+#elif defined(CONFIG_ALARM_ARCH) || \
+      defined(CONFIG_TIMER_ARCH) || \
+      defined(CONFIG_SCHED_TICKLESS)
+# ifdef CONFIG_SCHED_TICKLESS_TICK_ARGUMENT

Review Comment:
   remove if branch



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to