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


##########
drivers/timers/arch_alarm.c:
##########
@@ -46,6 +46,7 @@ static FAR struct oneshot_lowerhalf_s *g_oneshot_lower;
 
 #ifndef CONFIG_SCHED_TICKLESS
 static clock_t g_current_tick;
+static clock_t g_base_tick;

Review Comment:
   No, because `up_timer_gettime()` will use the chip clock directly. If some 
chip clocks have global wall offset by default, the Nuttx clock system will not 
work properly.



-- 
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