From bade1a671a5d98784c6874b7f4ea2bd382afaca8 Mon Sep 17 00:00:00 2001 From: "Ching-Hsin,Lee" Date: Mon, 20 May 2024 17:16:20 +0800 Subject: [PATCH] Fix typo --- tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.c b/tasks.c index 0f9807fb8..73d27c302 100644 --- a/tasks.c +++ b/tasks.c @@ -4674,7 +4674,7 @@ BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp ) { #if ( configNUMBER_OF_CORES == 1 ) { - TCB_t * const pxCurrentTCB = prvGetCurrentTaskTCB(); + TCB_t * const pxConstCurrentTCB = prvGetCurrentTaskTCB(); /* Preemption is on, but a context switch should only be * performed if the unblocked task has a priority that is