From 8cf1ffba3ac1b69455d1169630a33072855dd21b Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Thu, 27 Apr 2023 21:22:06 +0200
Subject: [PATCH] Addresses 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 6f822a33..433662f0 100644
--- a/hardware_components/mux_2024_rev_0_0.py
+++ b/hardware_components/mux_2024_rev_0_0.py
@@ -111,7 +111,7 @@ class Mux(MuxAbstract):
         self.addresses = {}
         d = {}
         for k, v in self.cabling.items():
-            d.update({k: ic[(v[1], self._roles[k[1]])]})
+            d.update({k: ic[(v[0], self._roles[k[1]])]})
         self.addresses = d
         print(self.addresses)
 
-- 
GitLab