From cfa31e42051c24fe1cd2e38fb50e1c6017a40e8d Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Tue, 21 Oct 2008 13:28:53 +0000 Subject: [PATCH] Fix compiler warning only. --- Demo/Common/Minimal/crflash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }