Merge branch 'main' into secret-check

This commit is contained in:
xuelix 2021-03-05 20:59:12 +00:00 committed by GitHub
commit 061b3f9176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2694,8 +2694,8 @@ BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp )
#if ( configUSE_PREEMPTION == 1 )
{
/* Preemption is on, but a context switch should only be
* performed if the unblocked task has a priority that is
* equal to or higher than the currently executing task. */
* performed if the unblocked task has a priority that is
* higher than the currently executing task. */
if( pxTCB->uxPriority > pxCurrentTCB->uxPriority )
{
/* Pend the yield to be performed when the scheduler