diff options
author | Sergey.Kostanbaev <sergey.kostanbaev@fairwaves.co> | 2017-12-14 11:46:19 +0300 |
---|---|---|
committer | Sergey.Kostanbaev <sergey.kostanbaev@fairwaves.co> | 2017-12-14 11:46:19 +0300 |
commit | 8176f8b811b16ca6beffbf5084d18c17b5ea3355 (patch) | |
tree | ee668da701edc164e1b67b641f5b9ca7abe5fc76 /Transceiver52M/osmo-trx.cpp | |
parent | aa60dda99a22f6a60d5c6f9b08d50febe49757ef (diff) |
initial libxtrx support
Diffstat (limited to 'Transceiver52M/osmo-trx.cpp')
-rw-r--r-- | Transceiver52M/osmo-trx.cpp | 4 |
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; |