From b01c90ea34bba70dbf9837d70c859c36dd74bfd0 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Tue, 3 Oct 2023 23:04:34 +0200 Subject: [PATCH] Removes reference to tx_module.TX_CONFIG and rx_module.RX_CONFIG --- ohmpi/hardware_system.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index d2235166..a616398a 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -147,8 +147,7 @@ class OhmPiHardware: mux_ctl_module = importlib.import_module(f'ohmpi.hardware_components.{mux_config["ctl"]["model"]}') mux_config['ctl'] = mux_ctl_module.Ctl(**mux_config['ctl']) # (**self.ctl) assert issubclass(type(mux_config['ctl']), CtlAbstract) - mux_config.update({mux_config.pop('connection', - mux_config['ctl'].interfaces[mux_config.pop('interface_name', 'i2c')])}) + mux_config.update({'connection': mux_config.pop('connection', mux_config['ctl'].interfaces[mux_config.pop('interface_name', 'i2c')])}) mux_config['id'] = mux_id self.mux_boards[mux_id] = mux_module.Mux(**mux_config) -- GitLab