summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-10-21 13:28:53 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-10-21 13:28:53 +0000
commitf6632b69b19b718af5112932ec86fe7fa3d63b3a (patch)
tree54599de878d1e56dfd4e8f6479aed7b83fc9c84b
parent89b241b349a58ee4f3f5dc61e080c94b5a1d5e50 (diff)
downloadfreertos-f6632b69b19b718af5112932ec86fe7fa3d63b3a.tar.gz
freertos-f6632b69b19b718af5112932ec86fe7fa3d63b3a.tar.bz2
freertos-f6632b69b19b718af5112932ec86fe7fa3d63b3a.tar.xz
Fix compiler warning only.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@510 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
-rw-r--r--Demo/Common/Minimal/crflash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Demo/Common/Minimal/crflash.c b/Demo/Common/Minimal/crflash.c
index e1aec7ab..963ddeeb 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;
}