mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 20:03:50 -04:00
Update the demo directory to use the version 8 type naming conventions.
This commit is contained in:
parent
c6d8892b0d
commit
5a2a8fc319
639 changed files with 3127 additions and 3470 deletions
|
@ -70,7 +70,7 @@
|
|||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 25000000 )
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMAX_PRIORITIES ( 7 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 256 )
|
||||
#define configMAX_TASK_NAME_LEN ( 16 )
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
|
||||
/* Interval in which tasks are checked. */
|
||||
#define mainCHECK_PERIOD ( ( portTickType ) 2000 / portTICK_RATE_MS )
|
||||
#define mainCHECK_PERIOD ( ( TickType_t ) 2000 / portTICK_PERIOD_MS )
|
||||
|
||||
/* Constants used by the vMemCheckTask() task. */
|
||||
#define mainCOUNT_INITIAL_VALUE ( ( unsigned long ) 0 )
|
||||
|
@ -138,7 +138,7 @@ static
|
|||
portTASK_FUNCTION( vErrorChecks, pvParameters )
|
||||
{
|
||||
unsigned long ulMemCheckTaskRunningCount;
|
||||
xTaskHandle xCreatedTask;
|
||||
TaskHandle_t xCreatedTask;
|
||||
|
||||
/* The parameters are not used in this function. */
|
||||
( void )pvParameters;
|
||||
|
|
|
@ -74,8 +74,8 @@ static void prvSerialISR( void );
|
|||
typedef struct
|
||||
{
|
||||
portBASE_TYPE xInitialized;
|
||||
xQueueHandle xRXChars;
|
||||
xQueueHandle xTXChars;
|
||||
QueueHandle_t xRXChars;
|
||||
QueueHandle_t xTXChars;
|
||||
} xComPortIF_t;
|
||||
|
||||
static xComPortIF_t xComPortIF[ COM_NIFACE ];
|
||||
|
@ -145,7 +145,7 @@ xSerialPortInitMinimal( unsigned long ulWantedBaud,
|
|||
|
||||
signed portBASE_TYPE
|
||||
xSerialGetChar( xComPortHandle pxPort, signed char * pcRxedChar,
|
||||
portTickType xBlockTime )
|
||||
TickType_t xBlockTime )
|
||||
{
|
||||
int i;
|
||||
portBASE_TYPE xResult = pdFALSE;
|
||||
|
@ -189,7 +189,7 @@ vSerialPutString( xComPortHandle pxPort, const signed char *
|
|||
|
||||
signed portBASE_TYPE
|
||||
xSerialPutChar( xComPortHandle pxPort, signed char cOutChar,
|
||||
portTickType xBlockTime )
|
||||
TickType_t xBlockTime )
|
||||
{
|
||||
int i;
|
||||
portBASE_TYPE xResult = pdFALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue