aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/osmo-trx.cpp
diff options
context:
space:
mode:
authorSergey.Kostanbaev <sergey.kostanbaev@fairwaves.co>2017-12-14 11:46:19 +0300
committerSergey.Kostanbaev <sergey.kostanbaev@fairwaves.co>2017-12-14 11:46:19 +0300
commit8176f8b811b16ca6beffbf5084d18c17b5ea3355 (patch)
treeee668da701edc164e1b67b641f5b9ca7abe5fc76 /Transceiver52M/osmo-trx.cpp
parentaa60dda99a22f6a60d5c6f9b08d50febe49757ef (diff)
initial libxtrx support
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;