Commit fe56b743 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes bug related to the default_mux_cabling in hardware system

No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -29,7 +29,8 @@ voltage_min = RX_CONFIG['voltage_min']
default_mux_cabling = {}
for mux in mux_boards:
update_dict(default_mux_cabling, MUX_CONFIG[mux].pop('default_mux_cabling', {}))
if 'default_mux_cabling' in MUX_CONFIG[mux]:
update_dict(default_mux_cabling, MUX_CONFIG[mux]['default_mux_cabling'])
print(f'default_mux_cabling: {default_mux_cabling}')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment