]> git.sur5r.net Git - freertos/blobdiff - Demo/Common/Minimal/recmutex.c
Add in a missing initialisation to zero for a variable in recmutex.c. Should not...
[freertos] / Demo / Common / Minimal / recmutex.c
index dacbf27804fff7510ac109fab5206ffd279fbd29..0d7f941810045475a6fbf561ead2f548ab558260 100644 (file)
@@ -118,7 +118,7 @@ static xSemaphoreHandle xMutex;
 \r
 /* Variables used to detect and latch errors. */\r
 static volatile portBASE_TYPE xErrorOccurred = pdFALSE, xControllingIsSuspended = pdFALSE, xBlockingIsSuspended = pdFALSE;\r
-static volatile unsigned portBASE_TYPE uxControllingCycles = 0, uxBlockingCycles, uxPollingCycles = 0;\r
+static volatile unsigned portBASE_TYPE uxControllingCycles = 0, uxBlockingCycles = 0, uxPollingCycles = 0;\r
 \r
 /* Handles of the two higher priority tasks, required so they can be resumed \r
 (unsuspended). */\r