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

Fixes bug related to MUX_CONFIG in hardware_system

Showing with 2 additions and 1 deletion
+2 -1
...@@ -18,6 +18,7 @@ for mux_id, mux_config in HARDWARE_CONFIG['mux']['boards'].items(): ...@@ -18,6 +18,7 @@ for mux_id, mux_config in HARDWARE_CONFIG['mux']['boards'].items():
MUX_CONFIG[mux_id].update(mux_config) MUX_CONFIG[mux_id].update(mux_config)
MUX_CONFIG[mux_id].update({'id': mux_id}) MUX_CONFIG[mux_id].update({'id': mux_id})
mux_boards.append(mux_id) mux_boards.append(mux_id)
TX_CONFIG = tx_module.TX_CONFIG TX_CONFIG = tx_module.TX_CONFIG
RX_CONFIG = rx_module.RX_CONFIG RX_CONFIG = rx_module.RX_CONFIG
...@@ -351,6 +352,6 @@ class OhmPiHardware: ...@@ -351,6 +352,6 @@ class OhmPiHardware:
""" """
self.exec_logger.debug('Resetting all mux boards ...') self.exec_logger.debug('Resetting all mux boards ...')
for mux_id, mux in self.mux_boards.items: for mux_id, mux in self.mux_boards.items():
self.exec_logger.debug(f'Resetting {mux_id}.') self.exec_logger.debug(f'Resetting {mux_id}.')
self.mux_boards[mux].reset() self.mux_boards[mux].reset()
\ No newline at end of file
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