diff options
Diffstat (limited to 'dpd/src/Adapt.py')
-rw-r--r-- | dpd/src/Adapt.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |