aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/osmo-trx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/osmo-trx.cpp')
-rw-r--r--Transceiver52M/osmo-trx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index 3f72fb7..b0d04ac 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -169,15 +169,19 @@ RadioInterface *makeRadioInterface(struct trx_config *config,
radio = new RadioInterface(usrp, config->tx_sps,
config->rx_sps, config->chans);
break;
+#ifndef NO_RESAMPLER
case RadioDevice::RESAMP_64M:
case RadioDevice::RESAMP_100M:
radio = new RadioInterfaceResamp(usrp, config->tx_sps,
config->rx_sps);
break;
+#endif
+#ifndef NO_MULTIARFCN
case RadioDevice::MULTI_ARFCN:
radio = new RadioInterfaceMulti(usrp, config->tx_sps,
config->rx_sps, config->chans);
break;
+#endif
default:
LOG(ALERT) << "Unsupported radio interface configuration";
return NULL;