diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-06-19 18:11:54 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-06-25 13:07:22 +0200 |
commit | 5bd3d4263bf026c8a5a892b23f01f1413cc51747 (patch) | |
tree | 0e4f33d06c5a8f9f02109cbf45ada841d46b8aba /Transceiver52M/device/lms/LMSDevice.h | |
parent | f68f19b1101ea0bf25913cdb4c7c3d236f01a806 (diff) |
Drop old TxGain APIs from parent radioDevice abstract class
All radioDevice subclasses except USRPDevice have already been reworked
to use the new SetPowerAttenuation() methods, hence we can drop the
compatibility layer that was added to transition from the old API to the
new one, and move those functions to USRPDevice.
This way we simplify the parent abstract class with methods not needed
by most devices and not used anymore by external users of those classes.
Change-Id: Ice005cd0a07c49b6e212c06f1228ef93c24db727
Diffstat (limited to 'Transceiver52M/device/lms/LMSDevice.h')
-rw-r--r-- | Transceiver52M/device/lms/LMSDevice.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.h b/Transceiver52M/device/lms/LMSDevice.h index b6a6ab9..7af09e2 100644 --- a/Transceiver52M/device/lms/LMSDevice.h +++ b/Transceiver52M/device/lms/LMSDevice.h @@ -86,10 +86,6 @@ private: bool do_clock_src_freq(enum ReferenceType ref, double freq); void get_dev_band_desc(dev_band_desc& desc); - double setTxGain(double db, size_t chan) {OSMO_ASSERT(false); return 0.0f; } - double getTxGain(size_t chan = 0) { OSMO_ASSERT(false); return 0.0f; }; - double maxTxGain(void) { OSMO_ASSERT(false); return 0.0f; }; - public: /** Object constructor */ |