From fda16ad29ccfbd20b840cd9ad734c97f0781ec51 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 27 Apr 2023 20:32:33 +0200 Subject: [PATCH] Works on issue #101 --- hardware_components/mux_2024_rev_0_0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware_components/mux_2024_rev_0_0.py b/hardware_components/mux_2024_rev_0_0.py index 8d05bd86..d888744f 100644 --- a/hardware_components/mux_2024_rev_0_0.py +++ b/hardware_components/mux_2024_rev_0_0.py @@ -113,7 +113,7 @@ class Mux(MuxAbstract): #print(f'self.cabling: {self.cabling}, k: {k}, self._roles: {self._roles}, d: {d}') print(f'self.cabling[k[0]]: {self.cabling[(k[0], self._roles[k[1]])]}') print(f'self._roles[k[1]]: {self._roles[k[1]]}') - self.addresses.update({(self.cabling[k[0]], self._roles[k[1]]): v}) + self.addresses.update({self.cabling[(k[0], self._roles[k[1]])]: v}) print(f'addresses: {self.addresses}') def reset(self): -- GitLab