From 59a47f22b9f5bf9f6c3e1d422230991eb7440b54 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Thu, 19 Oct 2023 17:59:05 +0200 Subject: [PATCH] Updates config --- ohmpi/hardware_system.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py index 51a8440e..6eb7a367 100644 --- a/ohmpi/hardware_system.py +++ b/ohmpi/hardware_system.py @@ -398,9 +398,8 @@ class OhmPiHardware: """ if self.tx.pwr.voltage_adjustable: - print(f'Vmn max: {vmn_max}') if vmn_max is None: - vmn_max == self.rx._voltage_max / 1000. + vmn_max = self.rx._voltage_max / 1000. print(f'Vmn max: {vmn_max}') if p_max is None: p_max = vab_max * iab_max -- GitLab