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

@@ -170,7 +170,7 @@ PRIVILEGED_DATA static List_t *pxOverflowTimerList;
PRIVILEGED_DATA static QueueHandle_t xTimerQueue = NULL;
/* Mux. We use a single mux for all the timers for now. ToDo: maybe increase granularity here? */
PRIVILEGED_DATA portMUX_TYPE xTimerMux;
PRIVILEGED_DATA portMUX_TYPE xTimerMux = portMUX_INITIALIZER_UNLOCKED;
#if ( INCLUDE_xTimerGetTimerDaemonTaskHandle == 1 )