Skip to content

Commit c3fefa6

Browse files
committed
Fix MSVC building.
1 parent 7b9edd4 commit c3fefa6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tasks.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,7 @@ PRIVILEGED_DATA static volatile BaseType_t xYieldPendings[ configNUMBER_OF_CORES
441441
PRIVILEGED_DATA static volatile BaseType_t xNumOfOverflows = ( BaseType_t ) 0;
442442
PRIVILEGED_DATA static UBaseType_t uxTaskNumber = ( UBaseType_t ) 0U;
443443
PRIVILEGED_DATA static volatile TickType_t xNextTaskUnblockTime = ( TickType_t ) 0U; /* Initialised to portMAX_DELAY before the scheduler starts. */
444-
PRIVILEGED_DATA static TaskHandle_t xIdleTaskHandles[ configNUMBER_OF_CORES ] =
445-
{
446-
[ 0 ... ( configNUMBER_OF_CORES - 1 ) ] = NULL,
447-
}; /**< Holds the handles of the idle tasks. The idle tasks are created automatically when the scheduler is started. */
444+
PRIVILEGED_DATA static TaskHandle_t xIdleTaskHandles[ configNUMBER_OF_CORES ]; /**< Holds the handles of the idle tasks. The idle tasks are created automatically when the scheduler is started. */
448445

449446
/* Improve support for OpenOCD. The kernel tracks Ready tasks via priority lists.
450447
* For tracking the state of remote threads, OpenOCD uses uxTopUsedPriority

0 commit comments

Comments
 (0)