From dd11ff71bde9f431501efe454c764c867e2c246a Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Thu, 5 Oct 2023 17:11:24 +0200
Subject: [PATCH] Modifies the way gains are auto set

---
 ohmpi/hardware_system.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ohmpi/hardware_system.py b/ohmpi/hardware_system.py
index e284569c..46332b0a 100644
--- a/ohmpi/hardware_system.py
+++ b/ohmpi/hardware_system.py
@@ -190,6 +190,7 @@ class OhmPiHardware:
             get_rx_gain.join()
             injection.join()
             tx_gains.append(self.tx.gain)
+            rx_gains.append(self.rx.gain)
 
             # v = self.readings[:, 2] != 0
             # current = max(current, np.mean(self.readings[v, 3]))
-- 
GitLab