embeddedsw
embeddedsw copied to clipboard
axiethernet: Fix return value of XAxiEthernet_ReadReg with DEBUG defined
When DEBUG is on, XAxiEthernet_ReadReg should still return the value read with Xil_In32, instead of the return value of xdbg_printf called by XAxiEthernet_print_reg_i.
Signed-off-by: Paolo Cretaro [email protected]
Hi @melko , Thanks for bringup it up. The patch looks correct. We will integrate it in our repo and the fix will be available in next release. We can close on this pull request.