diff options
-rw-r--r-- | Transceiver52M/device/lms/LMSDevice.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index 21bcece..8f3d8e1 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -601,12 +601,6 @@ bool LMSDevice::updateAlignment(TIMESTAMP timestamp) bool LMSDevice::setTxFreq(double wFreq, size_t chan) { - - if (chan) { - LOGC(DDEV, ALERT) << "Invalid channel " << chan; - return false; - } - if (LMS_SetLOFrequency(m_lms_dev, LMS_CH_TX, chan, wFreq) < 0) { LOGC(DDEV, ALERT) << "set Tx: " << wFreq << " failed!"; return false; @@ -617,11 +611,6 @@ bool LMSDevice::setTxFreq(double wFreq, size_t chan) bool LMSDevice::setRxFreq(double wFreq, size_t chan) { - if (chan) { - LOGC(DDEV, ALERT) << "Invalid channel " << chan; - return false; - } - if (LMS_SetLOFrequency(m_lms_dev, LMS_CH_RX, chan, wFreq) < 0) { LOGC(DDEV, ALERT) << "set Rx: " << wFreq << " failed!"; return false; |