mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
Remove compiler warnings.
This commit is contained in:
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…
Reference in a new issue