From f741d7a161eaff5e8154c8ca182ea95f81fbdacb Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Tue, 2 May 2023 18:49:31 +0200
Subject: [PATCH] Rewrites TX voltage handling

---
 config_mb_2023_mux_2024.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config_mb_2023_mux_2024.py b/config_mb_2023_mux_2024.py
index 252974c8..cae61ec6 100644
--- a/config_mb_2023_mux_2024.py
+++ b/config_mb_2023_mux_2024.py
@@ -22,7 +22,7 @@ HARDWARE_CONFIG = {
                    },
     'tx' : {'model' : 'ohmpi_card_3_15',
              'mcp_board_address': 0x20,
-             'voltage_max': 12, # Maximum voltage [V]
+             'voltage_max': 12., # Maximum voltage [V]
              'current_max': 4800 / 50 / 2,  # Maximum current [mA]
              'r_shunt': 2  # Shunt resistance in Ohms
             },
-- 
GitLab