acassis commented on code in PR #17969:
URL: https://github.com/apache/nuttx/pull/17969#discussion_r2699276034


##########
sched/sched/sched_roundrobin.c:
##########
@@ -180,33 +180,36 @@ clock_t nxsched_process_roundrobin(FAR struct tcb_s *tcb, 
clock_t ticks,
            * give that task a shot.
            */
 
-          if (tcb->flink &&
-              tcb->flink->sched_priority >= tcb->sched_priority)
-            {
-              FAR struct tcb_s *rtcb = this_task();
+          FAR struct tcb_s *rtcb = this_task();

Review Comment:
   @fdcavalcanti probably this comment above needs to be update to the new way 
to switch to the next task



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to