From bf37bdbfd3770c80d6a04430f2dc958c57ea321d Mon Sep 17 00:00:00 2001 From: bradleysmith23 Date: Tue, 6 Feb 2024 16:34:31 -0800 Subject: [PATCH] Fix unit test error about mixed declarations and code --- tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.c b/tasks.c index f7fdba250..cdceb17f8 100644 --- a/tasks.c +++ b/tasks.c @@ -3967,8 +3967,8 @@ BaseType_t xTaskResumeAll( void ) taskENTER_CRITICAL(); { BaseType_t xCoreID; - xCoreID = ( BaseType_t ) portGET_CORE_ID(); UBaseType_t uxSchedulerSuspendedVal; + xCoreID = ( BaseType_t ) portGET_CORE_ID(); /* If uxSchedulerSuspended is zero then this function does not match a * previous call to vTaskSuspendAll(). */