mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Replace use of legacy portTYPE macros from old demos and standard demo files.
This commit is contained in:
parent
3e20aa7d60
commit
b54158d1dc
123 changed files with 736 additions and 736 deletions
|
@ -199,7 +199,7 @@ static void vCommsRxTask( void * pvParameters );
|
|||
* The co-routine that periodically initiates the transmission of the string on
|
||||
* the UART.
|
||||
*/
|
||||
static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/*
|
||||
* Writes a string the the LCD.
|
||||
|
@ -429,7 +429,7 @@ static char cRxedChar, cExpectedChar;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
portTickType xDelayPeriod;
|
||||
static unsigned long *pulRandomBytes = mainFIRST_PROGRAM_BYTES;
|
||||
|
|
|
@ -197,13 +197,13 @@ static void vLCDTask( void * pvParameters );
|
|||
/*
|
||||
* The task that receives the characters from UART 0.
|
||||
*/
|
||||
static void vCommsRxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vCommsRxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/*
|
||||
* The co-routine that periodically initiates the transmission of the string on
|
||||
* the UART.
|
||||
*/
|
||||
static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/*
|
||||
* Writes a string the the LCD.
|
||||
|
@ -384,7 +384,7 @@ const char *pcStringsToDisplay[] = {
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void vCommsRxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
static void vCommsRxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
static char cRxedChar, cExpectedChar = mainFIRST_TX_CHAR;
|
||||
portBASE_TYPE xResult;
|
||||
|
@ -437,7 +437,7 @@ portBASE_TYPE xResult;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void vSerialTxCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
static void vSerialTxCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
portTickType xDelayPeriod;
|
||||
static unsigned long *pulRandomBytes = mainFIRST_PROGRAM_BYTES;
|
||||
|
|
|
@ -142,8 +142,8 @@ static xQueueHandle xDelayQueue;
|
|||
static void prvSetupHardware( void );
|
||||
|
||||
/* The co-routines as described at the top of the file. */
|
||||
static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -205,7 +205,7 @@ static void prvSetupHardware( void )
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void vI2CCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
static void vI2CCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
portTickType xADCResult;
|
||||
static portBASE_TYPE xResult = 0, xMilliSecs, xLED;
|
||||
|
@ -247,7 +247,7 @@ static portBASE_TYPE xResult = 0, xMilliSecs, xLED;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void vFlashCoRoutine( xCoRoutineHandle xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
static void vFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
portBASE_TYPE xResult, xNothing;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue