]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_LPC1768_IAR/LPCUSB/USB_CDC.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / CORTEX_LPC1768_IAR / LPCUSB / USB_CDC.c
index f27542d16069f89b20d34787eb4c72fc264e0b48..420c591946caec745e4bc99b8a88f13fc63bb5bb 100644 (file)
@@ -58,7 +58,7 @@
 \r
 #include "LPC17xx.h"\r
 \r
-#define usbMAX_SEND_BLOCK              ( 20 / portTICK_RATE_MS )\r
+#define usbMAX_SEND_BLOCK              ( 20 / portTICK_PERIOD_MS )\r
 #define usbBUFFER_LEN                  ( 20 )\r
 \r
 #define INCREMENT_ECHO_BY 1\r
@@ -92,7 +92,7 @@ static TLineCoding LineCoding = {115200, 0, 0, 8};
 static unsigned char abBulkBuf[64];\r
 static unsigned char abClassReqData[8];\r
 \r
-static xQueueHandle xRxedChars = NULL, xCharsForTx = NULL;\r
+static QueueHandle_t xRxedChars = NULL, xCharsForTx = NULL;\r
 \r
 // forward declaration of interrupt handler\r
 void USBIntHandler(void);\r