acassis commented on code in PR #14596:
URL: https://github.com/apache/nuttx/pull/14596#discussion_r1825869439
##########
arch/avr/src/avr/avr_switchcontext.c:
##########
@@ -85,6 +85,10 @@ void up_switch_context(struct tcb_s *tcb, struct tcb_s *rtcb)
nxsched_resume_scheduler(tcb);
+ /* Record the new "running" task */
+
+ g_running_tasks[this_cpu()] = tcb;
+
Review Comment:
@hujun260 I think we need to test this modification on real hardware (i.e.
for 8-bit MCU like AVR8 here)
--
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]