mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -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
|
@ -134,12 +134,12 @@
|
|||
#include "DriverLib.h"
|
||||
|
||||
/* The time to delay between writing each character to the LCD. */
|
||||
#define mainCHAR_WRITE_DELAY ( 2 / portTICK_RATE_MS )
|
||||
#define mainCHAR_WRITE_DELAY ( 2 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The time to delay between writing each string to the LCD. */
|
||||
#define mainSTRING_WRITE_DELAY ( 400 / portTICK_RATE_MS )
|
||||
#define mainSTRING_WRITE_DELAY ( 400 / portTICK_PERIOD_MS )
|
||||
|
||||
#define mainADC_DELAY ( 200 / portTICK_RATE_MS )
|
||||
#define mainADC_DELAY ( 200 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The number of flash co-routines to create. */
|
||||
#define mainNUM_FLASH_CO_ROUTINES ( 5 )
|
||||
|
@ -227,7 +227,7 @@ defined within this file. */
|
|||
unsigned portBASE_TYPE uxErrorStatus = pdPASS;
|
||||
|
||||
/* The queue used to transmit messages to the LCD task. */
|
||||
static xQueueHandle xLCDQueue;
|
||||
static QueueHandle_t xLCDQueue;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -278,14 +278,14 @@ char *pcStringsToDisplay[] = {
|
|||
""
|
||||
};
|
||||
|
||||
xQueueHandle *pxLCDQueue;
|
||||
QueueHandle_t *pxLCDQueue;
|
||||
xLCDMessage xMessageToSend;
|
||||
portBASE_TYPE xIndex = 0;
|
||||
|
||||
/* To test the parameter passing mechanism, the queue on which messages are
|
||||
posted is passed in as a parameter even though it is available as a file
|
||||
scope variable anyway. */
|
||||
pxLCDQueue = ( xQueueHandle * ) pvParameters;
|
||||
pxLCDQueue = ( QueueHandle_t * ) pvParameters;
|
||||
|
||||
for( ;; )
|
||||
{
|
||||
|
@ -318,7 +318,7 @@ portBASE_TYPE xIndex = 0;
|
|||
void prvLCDTask( void * pvParameters )
|
||||
{
|
||||
unsigned portBASE_TYPE uxIndex;
|
||||
xQueueHandle *pxLCDQueue;
|
||||
QueueHandle_t *pxLCDQueue;
|
||||
xLCDMessage xReceivedMessage;
|
||||
char *pcString;
|
||||
const unsigned char ucCFGData[] = {
|
||||
|
@ -335,7 +335,7 @@ const unsigned char ucCFGData[] = {
|
|||
/* To test the parameter passing mechanism, the queue on which messages are
|
||||
received is passed in as a parameter even though it is available as a file
|
||||
scope variable anyway. */
|
||||
pxLCDQueue = ( xQueueHandle * ) pvParameters;
|
||||
pxLCDQueue = ( QueueHandle_t * ) pvParameters;
|
||||
|
||||
/* Configure the LCD. */
|
||||
uxIndex = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue