From 2960f547110a212a90d6c87b730304466c84713c Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Mon, 4 Dec 2023 12:28:17 +0100
Subject: [PATCH] Fixes tx_volt typo

---
 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 fe38f962..c539d3d2 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -455,7 +455,7 @@ class OhmPiHardware:
             if iab_max is None:
                 iab_max = self.current_max
             if vmn_min is None:
-                iab_max = self.voltage_min
+                vmn_min = self.voltage_min
             if vab_max is None:
                 vab_max = self.voltage_max
             # print(f'Vmn max: {vmn_max}')
-- 
GitLab