From 1b6c5dd58658bbc1b423b50baa15ca3fae6a1065 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Tue, 5 Sep 2017 10:02:59 +0200 Subject: Change max to meadian in TX_Agc --- dpd/src/Adapt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/Adapt.py') diff --git a/dpd/src/Adapt.py b/dpd/src/Adapt.py index 78eaa9e..5e05112 100644 --- a/dpd/src/Adapt.py +++ b/dpd/src/Adapt.py @@ -90,7 +90,7 @@ class Adapt: def get_txgain(self): """Get the txgain value in dB for the ODR-DabMod.""" # TODO handle failure - return int(self.send_receive("get uhd txgain")[0]) + return float(self.send_receive("get uhd txgain")[0]) def set_rxgain(self, gain): """Set a new rxgain for the ODR-DabMod. -- cgit v1.2.3