From: richardbarry Date: Tue, 21 Oct 2008 13:28:53 +0000 (+0000) Subject: Fix compiler warning only. X-Git-Tag: V5.1.2~186 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=468b6a811463d5981ebc5cd00340ab38815fbac7;p=freertos Fix compiler warning only. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@510 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/Common/Minimal/crflash.c b/Demo/Common/Minimal/crflash.c index e1aec7ab1..963ddeebb 100644 --- a/Demo/Common/Minimal/crflash.c +++ b/Demo/Common/Minimal/crflash.c @@ -114,7 +114,7 @@ static void prvFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE static xQueueHandle xFlashQueue; /* This will be set to pdFALSE if we detect an error. */ -static unsigned portBASE_TYPE uxCoRoutineFlashStatus = pdPASS; +static portBASE_TYPE xCoRoutineFlashStatus = pdPASS; /*-----------------------------------------------------------*/ @@ -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 find that we can post to the queue. If we could not then an error has occurred. */ - uxCoRoutineFlashStatus = pdFAIL; + xCoRoutineFlashStatus = pdFAIL; } crDELAY( xHandle, xFlashRates[ uxIndex ] ); @@ -207,7 +207,7 @@ unsigned portBASE_TYPE uxLEDToFlash; if( xResult != pdPASS ) { /* We would not expect to wake unless we received something. */ - uxCoRoutineFlashStatus = pdFAIL; + xCoRoutineFlashStatus = pdFAIL; } else { @@ -225,6 +225,6 @@ portBASE_TYPE xAreFlashCoRoutinesStillRunning( void ) { /* Return pdPASS or pdFAIL depending on whether an error has been detected or not. */ - return uxCoRoutineFlashStatus; + return xCoRoutineFlashStatus; }