From 4eed62143c260d997d4679828b89a8dcf94a4d50 Mon Sep 17 00:00:00 2001 From: Andrew Dennison Date: Thu, 2 Jun 2022 16:15:43 +1000 Subject: [PATCH] litex_client: remove duplicate read --- litex/tools/litex_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_client.py b/litex/tools/litex_client.py index c082de09e..9e5c37dea 100644 --- a/litex/tools/litex_client.py +++ b/litex/tools/litex_client.py @@ -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: