From 0682ec037cfa1efbc36df3f4ff8ee836cc1cddec Mon Sep 17 00:00:00 2001
From: Arnaud Watlet <arnaud.watlet@umons.ac.be>
Date: Thu, 4 Apr 2024 10:44:57 +0200
Subject: [PATCH] adds todo in mb_2024_0_2 linked with #177

---
 ohmpi/hardware_components/mb_2024_0_2.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ohmpi/hardware_components/mb_2024_0_2.py b/ohmpi/hardware_components/mb_2024_0_2.py
index 3b6fd15b..f7de3a9d 100644
--- a/ohmpi/hardware_components/mb_2024_0_2.py
+++ b/ohmpi/hardware_components/mb_2024_0_2.py
@@ -258,7 +258,8 @@ class Rx(Rx_mb_2023):
         self.exec_logger.event(f'{self.model}\trx_adc_auto_gain\tend\t{datetime.datetime.utcnow()}')
 
     def _dg411_gain_auto(self):
-        if self.voltage < self._vmn_hardware_offset :
+        #TODO: Check condition (see #177)
+        if self.voltage < self._vmn_hardware_offset:
             self._dg411_gain = 1.
         else:
             self._dg411_gain = self._dg411_gain_ratio
-- 
GitLab