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

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


Reply via email to