We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c5a96 commit 09329acCopy full SHA for 09329ac
tasks.c
@@ -3855,6 +3855,7 @@ void vTaskSuspendAll( void )
3855
#else /* #if ( configNUMBER_OF_CORES == 1 ) */
3856
{
3857
UBaseType_t ulState;
3858
+ BaseType_t xCoreID;
3859
3860
/* This must only be called from within a task. */
3861
portASSERT_IF_IN_ISR();
@@ -3868,7 +3869,7 @@ void vTaskSuspendAll( void )
3868
3869
* uxSchedulerSuspended since that will prevent context switches. */
3870
ulState = portSET_INTERRUPT_MASK();
3871
- BaseType_t xCoreID = ( BaseType_t ) portGET_CORE_ID();
3872
+ xCoreID = ( BaseType_t ) portGET_CORE_ID();
3873
3874
/* This must never be called from inside a critical section. */
3875
configASSERT( portGET_CRITICAL_NESTING_COUNT( xCoreID ) == 0 );
0 commit comments