repair running error by remove interrupt stack,and repair the uart output problems

This commit is contained in:
Wang_Weigen
2022-02-17 11:10:02 +08:00
parent d5d7ea74c8
commit 26e8a1a7e8
7 changed files with 21 additions and 20 deletions

View File

@@ -74,7 +74,9 @@ void TickAndTaskTimesliceUpdate(void)
RoundRobinTaskTimesliceUpdate(task);
#elif defined (SCHED_POLICY_RR_REMAINSLICE)
task = GetKTaskDescriptor();
RoundRobinRemainTaskTimesliceUpdate(task);
if(task){
RoundRobinRemainTaskTimesliceUpdate(task);
}
#endif
CheckTaskDelay();
#ifdef KERNEL_SOFTTIMER