From 54c5a9695b2e961873ddf2d95c3ed6063822682c Mon Sep 17 00:00:00 2001 From: Felix van Oost Date: Sun, 22 Dec 2024 10:01:33 -0500 Subject: [PATCH] Remove const qualifier from xCoreID local variable --- tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.c b/tasks.c index 5d030258f8..a2af54d591 100644 --- a/tasks.c +++ b/tasks.c @@ -3868,7 +3868,7 @@ void vTaskSuspendAll( void ) * uxSchedulerSuspended since that will prevent context switches. */ ulState = portSET_INTERRUPT_MASK(); - const BaseType_t xCoreID = ( BaseType_t ) portGET_CORE_ID(); + BaseType_t xCoreID = ( BaseType_t ) portGET_CORE_ID(); /* This must never be called from inside a critical section. */ configASSERT( portGET_CRITICAL_NESTING_COUNT( xCoreID ) == 0 );