From 6ad0a828bf1e3a365a7950fd88a27ee75b752537 Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Thu, 7 Dec 2023 12:36:46 +0100
Subject: [PATCH] Tries inject_current

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

diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py
index c9fc615a..5d9d3134 100644
--- a/ohmpi/hardware_components/mb_2024_0_2.py
+++ b/ohmpi/hardware_components/mb_2024_0_2.py
@@ -80,7 +80,7 @@ class Tx(Tx_mb_2023):
         if not subclass_init:
             self.exec_logger.event(f'{self.model}\ttx_init\tbegin\t{datetime.datetime.utcnow()}')
         self._pwr_latency = kwargs['pwr_latency']
-
+        self._current = 0
         # Initialize LEDs
         if self.connect:
             self.pin4 = self.mcp_board.get_pin(4)  # Ohmpi_run
-- 
GitLab