From 86f6e464e5f9df619c2354a050edd886a9c15e17 Mon Sep 17 00:00:00 2001 From: Arnaud Watlet <arnaud.watlet@umons.ac.be> Date: Thu, 7 Dec 2023 12:53:33 +0100 Subject: [PATCH] Tries inject_current --- 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 78a12242..23e21f47 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -645,7 +645,7 @@ class OhmPiHardware: if self.tx.voltage != vab: self.tx.voltage = vab if self.tx.current != 0.02: - self.tx.voltage = self.tx.pwr._voltage_max) + self.tx.voltage = self.tx.pwr._voltage_max self.tx.current = 0.02 else: vab = self.tx.voltage -- GitLab