Commit facf4c80 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 1 addition and 0 deletions
+1 -0
......@@ -12,6 +12,7 @@ tx_module = importlib.import_module(f'OhmPi.hardware_components.{HARDWARE_CONFIG
rx_module = importlib.import_module(f'OhmPi.hardware_components.{HARDWARE_CONFIG["rx"]["model"]}')
MUX_CONFIG = {}
mux_boards = []
print(f"HARDWARE_CONFIG['mux']['boards']: {HARDWARE_CONFIG['mux']['boards']}")
for mux_id, mux_config in HARDWARE_CONFIG['mux']['boards'].items():
mux_module = importlib.import_module(f'OhmPi.hardware_components.{mux_config["model"]}')
MUX_CONFIG[mux_id] = mux_module.MUX_CONFIG
......
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