litex_client: remove duplicate read

This commit is contained in:
Andrew Dennison 2022-06-02 16:15:43 +10:00 committed by Florent Kermarrec
parent 5e667f17d7
commit 4eed62143c
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ def run_gui(host, csr_csv, port):
# CSR Update.
for name, reg in bus.regs.__dict__.items():
value = reg.read()
dpg.set_value(item=name, value=f"0x{reg.read():x}")
dpg.set_value(item=name, value=f"0x{value():x}")
# XADC Update.
if with_xadc: