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

@@ -155,7 +155,7 @@ typedef struct A_BLOCK_LINK
} BlockLink_t;
//Mux to protect the memory status data
static portMUX_TYPE xMallocMutex;
static portMUX_TYPE xMallocMutex = portMUX_INITIALIZER_UNLOCKED;
/*-----------------------------------------------------------*/