]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / WizNET_DEMO_GCC_ARM7 / i2cISR.c
index f74c5aa7e76ee6a7c269dac41d64d5d9cb4bfc12..57a0e94c6f33054a9df63cbcf8e7bc4cf015049b 100644 (file)
@@ -125,7 +125,7 @@ typedef enum
 volatile xI2CMessage *pxCurrentMessage = NULL; \r
 \r
 /* The queue of messages waiting to be transmitted. */\r
-static xQueueHandle xMessagesForTx;\r
+static QueueHandle_t xMessagesForTx;\r
 \r
 /* Flag used to indicate whether or not the ISR is amid sending a message. */\r
 unsigned long ulBusFree = ( unsigned long ) pdTRUE;\r
@@ -137,7 +137,7 @@ volatile long lTransactionCompleted = pdTRUE;
 \r
 /*-----------------------------------------------------------*/\r
 \r
-void vI2CISRCreateQueues( unsigned portBASE_TYPE uxQueueLength, xQueueHandle *pxTxMessages, unsigned long **ppulBusFree )\r
+void vI2CISRCreateQueues( unsigned portBASE_TYPE uxQueueLength, QueueHandle_t *pxTxMessages, unsigned long **ppulBusFree )\r
 {\r
        /* Create the queues used to hold Rx and Tx characters. */\r
        xMessagesForTx = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( xI2CMessage * ) );\r