sebastianene07 commented on a change in pull request #1703:
URL: https://github.com/apache/incubator-nuttx/pull/1703#discussion_r484196171
##########
File path: arch/sim/src/sim/up_releasepending.c
##########
@@ -87,7 +87,11 @@ void up_release_pending(void)
* this is really the previously running task restarting!
*/
+#ifdef CONFIG_SIM_UCONTEXT_PREEMPTION
+ FAR struct tcb_s *prev_tcb = rtcb;
Review comment:
I moved it
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]