mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 21:23:16 +00:00
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
This commit is contained in:
@@ -28,7 +28,6 @@
|
|||||||
#include <uhd/version.hpp>
|
#include <uhd/version.hpp>
|
||||||
#include <uhd/property_tree.hpp>
|
#include <uhd/property_tree.hpp>
|
||||||
#include <uhd/usrp/multi_usrp.hpp>
|
#include <uhd/usrp/multi_usrp.hpp>
|
||||||
#include <uhd/utils/thread_priority.hpp>
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@@ -36,6 +35,9 @@
|
|||||||
|
|
||||||
#ifndef USE_UHD_3_11
|
#ifndef USE_UHD_3_11
|
||||||
#include <uhd/utils/msg.hpp>
|
#include <uhd/utils/msg.hpp>
|
||||||
|
#include <uhd/utils/thread_priority.hpp>
|
||||||
|
#else
|
||||||
|
#include <uhd/utils/thread.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USRP_TX_AMPL 0.3
|
#define USRP_TX_AMPL 0.3
|
||||||
|
|||||||
Reference in New Issue
Block a user