From eb8b5a26167c5d4911a7665df7556cc7ec83cb2b Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Tue, 23 Jan 2024 16:22:42 +0100
Subject: [PATCH] Merges v2024_rc

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

diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py
index d1f075b0..7582fa5c 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -154,7 +154,7 @@ class OhmPiHardware:
         if not self.tx.pwr.voltage_adjustable:
             self.tx._pwr_latency = 0
         self.tx.polarity = 0
-        self.tx.pwr._current_max = current_max
+        self.tx.pwr._current_max = self.current_max
 
         # Initialize Muxes
         self._cabling = kwargs.pop('cabling', {})
-- 
GitLab