diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index 815a4c51..16585e6f 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -625,5 +625,13 @@ RadioDevice *RadioDevice::make(size_t tx_sps, size_t rx_sps, const std::vector < std::string > &tx_paths, const std::vector < std::string > &rx_paths) { + if (tx_sps != rx_sps) { + LOG(ERROR) << "LMS Requires tx_sps == rx_sps"; + return NULL; + } + if (lo_offset != 0.0) { + LOG(ERROR) << "LMS doesn't support lo_offset"; + return NULL; + } return new LMSDevice(tx_sps, rx_sps, iface, chans, lo_offset, tx_paths, rx_paths); }