Add static initializers for muxes, add mutex init to vPortCPUAcquireMutex

This commit is contained in:
Jeroen Domburg
2016-08-22 17:36:32 +08:00
parent f853f94335
commit 925fbb587e
7 changed files with 16 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ typedef struct xEventGroupDefinition
/* Again: one mux for all events. Maybe this can be made more granular. ToDo: look into that. -JD */
static portMUX_TYPE xEventGroupMux;
static portMUX_TYPE xEventGroupMux = portMUX_INITIALIZER_UNLOCKED;
static BaseType_t xMuxInitialized = pdFALSE;