hujun260 commented on code in PR #14578:
URL: https://github.com/apache/nuttx/pull/14578#discussion_r1926571146


##########
sched/sched/sched_unlock.c:
##########
@@ -288,30 +137,23 @@ int sched_unlock(void)
           if ((rtcb->flags & TCB_FLAG_POLICY_MASK) == TCB_FLAG_SCHED_SPORADIC
               && rtcb->timeslice < 0)
             {
-              /* Yes.. that is the situation.  Force the low-priority state
-               * now
-               */
-
-              nxsched_sporadic_lowpriority(rtcb);

Review Comment:
   done



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