diff --git a/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_tapp_example.c b/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_tapp_example.c index 68441f0e..eed96cd6 100644 --- a/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_tapp_example.c +++ b/XilinxProcessorIPLib/drivers/scugic/examples/xscugic_tapp_example.c @@ -117,11 +117,13 @@ int main(void) * Run the Scu Gic Intc example, specify the Device ID generated in * xparameters.h. */ + xil_printf("Starting Scugic self test Example \r\n"); Status = ScuGicSelfTestExample(INTC_DEVICE_ID); if (Status != XST_SUCCESS) { + xil_printf("Scugic self test Example failed \n!"); return XST_FAILURE; } - + xil_printf("Scugic self test Example passed \n!"); return XST_SUCCESS; } @@ -171,9 +173,6 @@ int ScuGicSelfTestExample(u16 DeviceId) return XST_FAILURE; } - - - return XST_SUCCESS; }