aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Transceiver52M/device/uhd/UHDDevice.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp
index 3b59291..809bade 100644
--- a/Transceiver52M/device/uhd/UHDDevice.cpp
+++ b/Transceiver52M/device/uhd/UHDDevice.cpp
@@ -247,9 +247,6 @@ void uhd_device::set_rates()
double uhd_device::setTxGain(double db, size_t chan)
{
- if (iface == MULTI_ARFCN)
- chan = 0;
-
if (chan >= tx_gains.size()) {
LOGC(DDEV, ALERT) << "Requested non-existent channel" << chan;
return 0.0f;
@@ -281,9 +278,6 @@ double uhd_device::setTxGain(double db, size_t chan)
double uhd_device::setRxGain(double db, size_t chan)
{
- if (iface == MULTI_ARFCN)
- chan = 0;
-
if (chan >= rx_gains.size()) {
LOGC(DDEV, ALERT) << "Requested non-existent channel " << chan;
return 0.0f;
@@ -299,9 +293,6 @@ double uhd_device::setRxGain(double db, size_t chan)
double uhd_device::getRxGain(size_t chan)
{
- if (iface == MULTI_ARFCN)
- chan = 0;
-
if (chan >= rx_gains.size()) {
LOGC(DDEV, ALERT) << "Requested non-existent channel " << chan;
return 0.0f;
@@ -312,9 +303,6 @@ double uhd_device::getRxGain(size_t chan)
double uhd_device::getTxGain(size_t chan)
{
- if (iface == MULTI_ARFCN)
- chan = 0;
-
if (chan >= tx_gains.size()) {
LOGC(DDEV, ALERT) << "Requested non-existent channel " << chan;
return 0.0f;