From 9a097c51dd29f3a7d51da831a15b16029e28b7c8 Mon Sep 17 00:00:00 2001 From: "Ching-Hsin,Lee" Date: Mon, 8 Jul 2024 12:52:16 +0800 Subject: [PATCH] Fix typo --- tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.c b/tasks.c index 5e3f647b9..4b7fea505 100644 --- a/tasks.c +++ b/tasks.c @@ -2101,7 +2101,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode, { if( pxCurrentTCB->uxPriority <= pxNewTCB->uxPriority ) { - pxCurrentTCB = pxTCB; + pxCurrentTCB = pxNewTCB; } else {