diff options
Diffstat (limited to 'FreeRTOS/Demo/dsPIC_MPLAB/lcd.c')
-rw-r--r-- | FreeRTOS/Demo/dsPIC_MPLAB/lcd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c b/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c index 7bbcd1513..a988f242e 100644 --- a/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c +++ b/FreeRTOS/Demo/dsPIC_MPLAB/lcd.c @@ -103,8 +103,8 @@ static void prvLCDClear( void ); /* Brief delay to permit the LCD to catch up with commands. */
#define lcdVERY_SHORT_DELAY ( 1 )
-#define lcdSHORT_DELAY ( 4 / portTICK_RATE_MS )
-#define lcdLONG_DELAY ( 15 / portTICK_RATE_MS )
+#define lcdSHORT_DELAY ( 4 / portTICK_PERIOD_MS )
+#define lcdLONG_DELAY ( 15 / portTICK_PERIOD_MS )
/* LCD commands. */
#define lcdCLEAR ( 0x01 )
@@ -140,14 +140,14 @@ static void prvLCDClear( void ); /*-----------------------------------------------------------*/
/* The queue used to send messages to the LCD task. */
-xQueueHandle xLCDQueue;
+QueueHandle_t xLCDQueue;
static void prvLCDCommand( char cCommand );
static void prvLCDData( char cChar );
/*-----------------------------------------------------------*/
-xQueueHandle xStartLCDTask( void )
+QueueHandle_t xStartLCDTask( void )
{
/* Create the queue used by the LCD task. Messages for display on the LCD
are received via this queue. */
|