Skip to content

Commit 54c5a96

Browse files
committed
Remove const qualifier from xCoreID local variable
1 parent 6f06046 commit 54c5a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3868,7 +3868,7 @@ void vTaskSuspendAll( void )
38683868
* uxSchedulerSuspended since that will prevent context switches. */
38693869
ulState = portSET_INTERRUPT_MASK();
38703870

3871-
const BaseType_t xCoreID = ( BaseType_t ) portGET_CORE_ID();
3871+
BaseType_t xCoreID = ( BaseType_t ) portGET_CORE_ID();
38723872

38733873
/* This must never be called from inside a critical section. */
38743874
configASSERT( portGET_CRITICAL_NESTING_COUNT( xCoreID ) == 0 );

0 commit comments

Comments
 (0)