mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-28 10:00:15 +00:00
Replace use of legacy portTYPE macros from old demos and standard demo files.
This commit is contained in:
@@ -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.
|
||||
@@ -137,7 +137,7 @@ xQueueHandle xStartLCDTask( void )
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvLCDGotoRow( unsigned portSHORT usRow )
|
||||
static void prvLCDGotoRow( unsigned short usRow )
|
||||
{
|
||||
if( usRow == 0 )
|
||||
{
|
||||
@@ -154,7 +154,7 @@ static void prvLCDGotoRow( unsigned portSHORT usRow )
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvLCDPutString( portCHAR *pcString )
|
||||
static void prvLCDPutString( char *pcString )
|
||||
{
|
||||
/* Write out each character with appropriate delay between each. */
|
||||
while( *pcString )
|
||||
@@ -206,7 +206,7 @@ static void prvSetupLCD( void )
|
||||
static void vLCDTask( void *pvParameters )
|
||||
{
|
||||
xLCDMessage xMessage;
|
||||
unsigned portSHORT usRow = 0;
|
||||
unsigned short usRow = 0;
|
||||
|
||||
/* Remove compiler warnigns. */
|
||||
( void ) pvParameters;
|
||||
|
||||
Reference in New Issue
Block a user