]> git.sur5r.net Git - freertos/blobdiff - Demo/Common/Minimal/crflash.c
Fix compiler warning only.
[freertos] / 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