X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FWizNET_DEMO_GCC_ARM7%2Fi2cISR.c;h=d0fe187b4547a251933f677f9a7a1dc512d14f2a;hb=19b29b9ac426c6f5c64009809b1cde1777abb285;hp=a1eaf6a44f62ddd5eff0a526c8a49883eca6192d;hpb=7f682e03ddc9f629d828cb8b61033bba85d9df67;p=freertos diff --git a/FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c b/FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c index a1eaf6a44..d0fe187b4 100644 --- a/FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c +++ b/FreeRTOS/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c @@ -1,5 +1,6 @@ /* - FreeRTOS V7.5.1 - Copyright (C) 2013 Real Time Engineers Ltd. + FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd. + All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. @@ -124,7 +125,7 @@ typedef enum volatile xI2CMessage *pxCurrentMessage = NULL; /* The queue of messages waiting to be transmitted. */ -static xQueueHandle xMessagesForTx; +static QueueHandle_t xMessagesForTx; /* Flag used to indicate whether or not the ISR is amid sending a message. */ unsigned long ulBusFree = ( unsigned long ) pdTRUE; @@ -136,7 +137,7 @@ volatile long lTransactionCompleted = pdTRUE; /*-----------------------------------------------------------*/ -void vI2CISRCreateQueues( unsigned portBASE_TYPE uxQueueLength, xQueueHandle *pxTxMessages, unsigned long **ppulBusFree ) +void vI2CISRCreateQueues( unsigned portBASE_TYPE uxQueueLength, QueueHandle_t *pxTxMessages, unsigned long **ppulBusFree ) { /* Create the queues used to hold Rx and Tx characters. */ xMessagesForTx = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( xI2CMessage * ) );