You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/09/05 15:08:35 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #10482: arch_alarm: change tick to g_current_tick

pkarashchenko commented on code in PR #10482:
URL: https://github.com/apache/nuttx/pull/10482#discussion_r1316040214


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

Review Comment:
   Do we need
   ```suggestion
   static clock_t g_current_tick = 1;
   ```
   ?



-- 
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-unsubscribe@nuttx.apache.org

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