X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FdsPIC_MPLAB%2Flcd.c;h=7bbcd151300469021080aee25ab0bed05129dca4;hb=61e4c8bcd10d8a2d87dfda1962932c88f0c7a92f;hp=504a4e2aa74f61d1da3f75696b2f5bbc1934bea7;hpb=758848cd92bc5b99ef94165052f0f537833ce1d7;p=freertos diff --git a/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c b/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c index 504a4e2aa..7bbcd1513 100644 --- a/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c +++ b/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c @@ -1,5 +1,5 @@ /* - FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. + FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. @@ -87,12 +87,12 @@ static void prvSetupLCD( void ); /* * Move to the first (0) or second (1) row of the LCD. */ -static void prvLCDGotoRow( unsigned portSHORT usRow ); +static void prvLCDGotoRow( unsigned short usRow ); /* * Write a string of text to the LCD. */ -static void prvLCDPutString( portCHAR *pcString ); +static void prvLCDPutString( char *pcString ); /* * Clear the LCD. @@ -142,8 +142,8 @@ static void prvLCDClear( void ); /* The queue used to send messages to the LCD task. */ xQueueHandle xLCDQueue; -static void prvLCDCommand( portCHAR cCommand ); -static void prvLCDData( portCHAR cChar ); +static void prvLCDCommand( char cCommand ); +static void prvLCDData( char cChar ); /*-----------------------------------------------------------*/ @@ -161,7 +161,7 @@ xQueueHandle xStartLCDTask( void ) } /*-----------------------------------------------------------*/ -static void prvLCDGotoRow( unsigned portSHORT usRow ) +static void prvLCDGotoRow( unsigned short usRow ) { if( usRow == 0 ) { @@ -174,7 +174,7 @@ static void prvLCDGotoRow( unsigned portSHORT usRow ) } /*-----------------------------------------------------------*/ -static void prvLCDCommand( portCHAR cCommand ) +static void prvLCDCommand( char cCommand ) { /* Prepare RD0 - RD7. */ lcdDATA &= 0xFF00; @@ -195,7 +195,7 @@ static void prvLCDCommand( portCHAR cCommand ) } /*-----------------------------------------------------------*/ -static void prvLCDData( portCHAR cChar ) +static void prvLCDData( char cChar ) { /* ensure lcdRW is 0. */ lcdRW = 0; @@ -223,7 +223,7 @@ static void prvLCDData( portCHAR cChar ) } /*-----------------------------------------------------------*/ -static void prvLCDPutString( portCHAR *pcString ) +static void prvLCDPutString( char *pcString ) { /* Write out each character with appropriate delay between each. */ while( *pcString ) @@ -328,7 +328,7 @@ static void prvSetupLCD( void ) static void vLCDTask( void *pvParameters ) { xLCDMessage xMessage; -unsigned portSHORT usRow = 0; +unsigned short usRow = 0; /* Initialise the hardware. This uses delays so must not be called prior to the scheduler being started. */