You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/27 12:01:46 UTC

[GitHub] [incubator-nuttx] zouboan commented on a change in pull request #5859: sched/sched_timerexpiration.c: change from sched_time to eventtime

zouboan commented on a change in pull request #5859:
URL: https://github.com/apache/incubator-nuttx/pull/5859#discussion_r835896743



##########
File path: sched/sched/sched_timerexpiration.c
##########
@@ -205,8 +205,8 @@ static uint32_t nxsched_cpu_scheduler(int cpu, uint32_t ticks,
        * committed to updating the scheduler for this TCB.
        */
 
-      sporadic->sched_time.tv_sec  = g_sched_time.tv_sec;
-      sporadic->sched_time.tv_nsec = g_sched_time.tv_nsec;
+      sporadic->eventtime = USEC2TICK(1000000 * (uint64_t)g_sched_time.tv_sec

Review comment:
       I'm so sorry for my mistake,thanks very much for your help!




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