From 6bd9b68ba46a88b014a90b4ac7ed722ff70b99b0 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Fri, 1 Dec 2023 11:31:26 +0100
Subject: [PATCH] Updates components for tests

---
 ohmpi/hardware_components/mb_2024_0_2.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py
index 40a9f4e4..cc5dbc21 100644
--- a/ohmpi/hardware_components/mb_2024_0_2.py
+++ b/ohmpi/hardware_components/mb_2024_0_2.py
@@ -143,6 +143,7 @@ class Rx(Rx_mb_2023):
         if not subclass_init:
             self.exec_logger.event(f'{self.model}\trx_init\tbegin\t{datetime.datetime.utcnow()}')
         # I2C connection to MCP23008, for voltage
+        self._mcp_address = kwargs['mcp_address']
         # self.mcp_board = MCP23008(self.connection, address=kwargs['mcp_address'])
         if self.connect:
             self.reset_mcp()
-- 
GitLab