]> git.sur5r.net Git - freertos/commitdiff
Add in a missing initialisation to zero for a variable in recmutex.c. Should not...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 20 Nov 2010 14:37:25 +0000 (14:37 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 20 Nov 2010 14:37:25 +0000 (14:37 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1148 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

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