Update the demo directory to use the version 8 type naming conventions.

This commit is contained in:
Richard Barry 2014-02-11 12:04:59 +00:00
parent c6d8892b0d
commit 5a2a8fc319
639 changed files with 3127 additions and 3470 deletions

View file

@ -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 )

View file

@ -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;

View file

@ -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;