Remove compiler warnings.

pull/4/head
Richard Barry 17 years ago
parent 0f7c3939e1
commit eb9d172082

@ -194,13 +194,16 @@ const unsigned portLONG ulInterval = ( ( configCPU_CLOCK_HZ / configTICK_RATE_HZ
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
void vPortISRHandler( void *vNullDoNotUse ) void vPortISRHandler( void *pvNullDoNotUse )
{ {
unsigned portLONG ulInterruptStatus, ulInterruptMask = 1UL; unsigned portLONG ulInterruptStatus, ulInterruptMask = 1UL;
portBASE_TYPE xInterruptNumber; portBASE_TYPE xInterruptNumber;
XIntc_Config *pxInterruptController; XIntc_Config *pxInterruptController;
XIntc_VectorTableEntry *pxTable; XIntc_VectorTableEntry *pxTable;
/* Just to remove compiler warning. */
( void ) pvNullDoNotUse;
/* Get the configuration by using the device ID - in this case it is /* Get the configuration by using the device ID - in this case it is
assumed that only one interrupt controller is being used. */ assumed that only one interrupt controller is being used. */
pxInterruptController = &XIntc_ConfigTable[ XPAR_XPS_INTC_0_DEVICE_ID ]; pxInterruptController = &XIntc_ConfigTable[ XPAR_XPS_INTC_0_DEVICE_ID ];

Loading…
Cancel
Save