diff options
Diffstat (limited to 'Transceiver52M/device/uhd')
-rw-r--r-- | Transceiver52M/device/uhd/UHDDevice.cpp | 4 | ||||
-rw-r--r-- | Transceiver52M/device/uhd/UHDDevice.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp index b5dda28..43b9f9c 100644 --- a/Transceiver52M/device/uhd/UHDDevice.cpp +++ b/Transceiver52M/device/uhd/UHDDevice.cpp @@ -152,7 +152,7 @@ static const std::map<dev_band_key, dev_band_desc> dev_band_nom_power_param_map void *async_event_loop(uhd_device *dev) { set_selfthread_name("UHDAsyncEvent"); - OSMO_ASSERT(osmo_cpu_sched_vty_apply_localthread() == 0); + osmo_cpu_sched_vty_apply_localthread(); while (1) { dev->recv_async_msg(); @@ -1316,6 +1316,7 @@ std::string uhd_device::str_code(uhd::async_metadata_t metadata) return ost.str(); } +#ifndef IPCMAGIC RadioDevice *RadioDevice::make(size_t tx_sps, size_t rx_sps, InterfaceType iface, size_t chans, double lo_offset, const std::vector<std::string>& tx_paths, @@ -1323,3 +1324,4 @@ RadioDevice *RadioDevice::make(size_t tx_sps, size_t rx_sps, { return new uhd_device(tx_sps, rx_sps, iface, chans, lo_offset, tx_paths, rx_paths); } +#endif diff --git a/Transceiver52M/device/uhd/UHDDevice.h b/Transceiver52M/device/uhd/UHDDevice.h index 22a0948..c159e63 100644 --- a/Transceiver52M/device/uhd/UHDDevice.h +++ b/Transceiver52M/device/uhd/UHDDevice.h @@ -133,7 +133,7 @@ public: ERROR_UNHANDLED = -4, }; -private: +protected: uhd::usrp::multi_usrp::sptr usrp_dev; uhd::tx_streamer::sptr tx_stream; uhd::rx_streamer::sptr rx_stream; |