Skip to content

Commit

Permalink
Merge pull request #38 from skliper/fix37-idle_cancellation
Browse files Browse the repository at this point in the history
Fix #37, Add cancellation point to idle task
  • Loading branch information
dzbaker committed Jul 13, 2022
2 parents 0ddd1db + bc71a14 commit d5d28f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fsw/src/hs_custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ void HS_IdleTask(void)

/* Call the Utilization Tracking function */
HS_UtilizationIncrement();

/* Thread cancellation point/give up CPU */
OS_TaskDelay(0);
}

return;
Expand Down

0 comments on commit d5d28f0

Please sign in to comment.