diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-08-30 17:24:49 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 10:30:06 +0200 |
commit | 1f4a009c67d61bca2d7b150492fb3b7e25867820 (patch) | |
tree | 4d37cbb5cf19a7168a731a2cc68f3db873a78744 /Transceiver52M/device | |
parent | 544ce0d6b711a08896c65e32239c1cb75d350850 (diff) |
UHHDDevice: Replace deprecated header uhd/utils/thread_priority.hpp
Fixes compilation warning:
In file included from osmo-trx/Transceiver52M/device/uhd/UHDDevice.cpp:31:
/usr/include/uhd/utils/thread_priority.hpp:10:17: note: #pragma message: This header is deprecated - please use <uhd/utils/thread.hpp> instead.
Header was moved in uhd.git c33928d2bbdd27688c3475e77fc461e7d16eba5a.
Change-Id: I6299df48a5e14c54eaa07288d166c705eb9ebdbe
Diffstat (limited to 'Transceiver52M/device')
-rw-r--r-- | Transceiver52M/device/uhd/UHDDevice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp index 63d3dec..b7109a4 100644 --- a/Transceiver52M/device/uhd/UHDDevice.cpp +++ b/Transceiver52M/device/uhd/UHDDevice.cpp @@ -28,7 +28,6 @@ #include <uhd/version.hpp> #include <uhd/property_tree.hpp> #include <uhd/usrp/multi_usrp.hpp> -#include <uhd/utils/thread_priority.hpp> #ifdef HAVE_CONFIG_H #include "config.h" @@ -36,6 +35,9 @@ #ifndef USE_UHD_3_11 #include <uhd/utils/msg.hpp> +#include <uhd/utils/thread_priority.hpp> +#else +#include <uhd/utils/thread.hpp> #endif #define USRP_TX_AMPL 0.3 |