]> git.sur5r.net Git - freertos/commitdiff
Fix compiler warning only.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Oct 2008 13:28:53 +0000 (13:28 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Oct 2008 13:28:53 +0000 (13:28 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@510 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/Minimal/crflash.c

index e1aec7ab19ab4419adbac9fcb7531ea7300c077a..963ddeebb984b34125332cd1118a1c2ce0fa1593 100644 (file)
@@ -114,7 +114,7 @@ static void prvFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE
 static xQueueHandle xFlashQueue;\r
 \r
 /* This will be set to pdFALSE if we detect an error. */\r
-static unsigned portBASE_TYPE uxCoRoutineFlashStatus = pdPASS;\r
+static portBASE_TYPE xCoRoutineFlashStatus = pdPASS;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -177,7 +177,7 @@ static const portTickType xFlashRates[ crfMAX_FLASH_TASKS ] = { 150 / portTICK_R
                        /* For the reasons stated at the top of the file we should always\r
                        find that we can post to the queue.  If we could not then an error\r
                        has occurred. */\r
-                       uxCoRoutineFlashStatus = pdFAIL;\r
+                       xCoRoutineFlashStatus = pdFAIL;\r
                }\r
 \r
                crDELAY( xHandle, xFlashRates[ uxIndex ] );\r
@@ -207,7 +207,7 @@ unsigned portBASE_TYPE uxLEDToFlash;
                if( xResult != pdPASS )\r
                {\r
                        /* We would not expect to wake unless we received something. */\r
-                       uxCoRoutineFlashStatus = pdFAIL;\r
+                       xCoRoutineFlashStatus = pdFAIL;\r
                }\r
                else\r
                {\r
@@ -225,6 +225,6 @@ portBASE_TYPE xAreFlashCoRoutinesStillRunning( void )
 {\r
        /* Return pdPASS or pdFAIL depending on whether an error has been detected\r
        or not. */\r
-       return uxCoRoutineFlashStatus;\r
+       return xCoRoutineFlashStatus;\r
 }\r
 \r