Fix unit test error about mixed declarations and code

This commit is contained in:
bradleysmith23 2024-02-06 16:34:31 -08:00
parent 2f9da89dc4
commit bf37bdbfd3

View file

@ -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(). */