From aa9cecd3d71eae633b495c0057750093d15c4439 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Sun, 30 Apr 2023 16:04:42 +0200 Subject: [PATCH] Fixes bug related to MUX_CONFIG in hardware_system --- hardware_system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hardware_system.py b/hardware_system.py index 7efdf4c3..c7710e11 100644 --- a/hardware_system.py +++ b/hardware_system.py @@ -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({'id': mux_id}) mux_boards.append(mux_id) + TX_CONFIG = tx_module.TX_CONFIG RX_CONFIG = rx_module.RX_CONFIG @@ -351,6 +352,6 @@ class OhmPiHardware: """ 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.mux_boards[mux].reset() \ No newline at end of file -- GitLab