aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/utils/usrp_cal_utils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 3750be9cb..4cb375161 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -357,7 +357,7 @@ static void tx_thread(std::atomic_flag* transmit,
const double tx_wave_ampl)
{
// increase thread priority for TX to prevent underruns
- uhd::set_thread_priority();
+ uhd::set_thread_priority_safe();
// set max TX gain
usrp->set_tx_gain(usrp->get_tx_gain_range().stop());