From b002be9009b55e9d0ec3e0d1f82a7c850777645c Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 28 Sep 2017 14:12:44 +0200 Subject: Cleanup --- dpd/src/TX_Agc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/TX_Agc.py') diff --git a/dpd/src/TX_Agc.py b/dpd/src/TX_Agc.py index 7b74c8f..2602ea6 100644 --- a/dpd/src/TX_Agc.py +++ b/dpd/src/TX_Agc.py @@ -90,7 +90,7 @@ class TX_Agc: # Set new values. # Avoid temorary increase of output power with correct order - if digital_gain_factor < 0: + if digital_gain_factor < 1: self.adapt.set_digital_gain(digital_gain) time.sleep(0.5) txgain = self._set_tx_gain(new_txgain) -- cgit v1.2.3