embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

axiethernet: Fix return value of XAxiEthernet_ReadReg with DEBUG defined

Open melko opened this issue 5 years ago • 1 comments

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]

melko avatar Feb 22 '20 18:02 melko

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.

radheyxilinx avatar Feb 24 '20 09:02 radheyxilinx