uartps : xuartps_intr_example.c was modified to fix compiler warnings.
This patch modifies uartps example for fixing compiler warnings. Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
This commit is contained in:
parent
874a26d2fb
commit
18d8e7922a
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ int UartPsIntrExample(XScuGic *IntcInstPtr, XUartPs *UartInstPtr,
|
|||
* a pointer to the UART driver instance as the callback reference
|
||||
* so the handlers are able to access the instance data
|
||||
*/
|
||||
XUartPs_SetHandler(UartInstPtr, Handler, UartInstPtr);
|
||||
XUartPs_SetHandler(UartInstPtr, (XUartPs_Handler)Handler, UartInstPtr);
|
||||
|
||||
/*
|
||||
* Enable the interrupt of the UART so interrupts will occur, setup
|
||||
|
|
Loading…
Add table
Reference in a new issue