summaryrefslogtreecommitdiffstats
path: root/dpd/src
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-28 14:12:44 +0200
committerandreas128 <Andreas>2017-09-28 14:12:44 +0200
commitb002be9009b55e9d0ec3e0d1f82a7c850777645c (patch)
treedfe3083ea7098c0365b186e7a7e299fad9780d5d /dpd/src
parent1e32ae4f336d1fcb174b0e5b8157bb9a9c9dcec7 (diff)
downloaddabmod-b002be9009b55e9d0ec3e0d1f82a7c850777645c.tar.gz
dabmod-b002be9009b55e9d0ec3e0d1f82a7c850777645c.tar.bz2
dabmod-b002be9009b55e9d0ec3e0d1f82a7c850777645c.zip
Cleanup
Diffstat (limited to 'dpd/src')
-rw-r--r--dpd/src/TX_Agc.py2
1 files changed, 1 insertions, 1 deletions
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)