aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/multi_usrp.cpp4
-rw-r--r--host/lib/usrp/multi_usrp_rfnoc.cpp4
-rw-r--r--host/lib/usrp/x300/x300_radio_control.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 721b57ec9..89c4cbc26 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -1847,7 +1847,7 @@ public:
} else {
UHD_LOGGER_WARNING("MULTI_USRP")
<< "This device does not support querying the RX DC offset range.";
- return meta_range_t(0, 0);
+ return meta_range_t(0.0, 0.0);
}
}
@@ -2340,7 +2340,7 @@ public:
} else {
UHD_LOGGER_WARNING("MULTI_USRP")
<< "This device does not support querying the TX DC offset range.";
- return meta_range_t(0, 0);
+ return meta_range_t(0.0, 0.0);
}
}
diff --git a/host/lib/usrp/multi_usrp_rfnoc.cpp b/host/lib/usrp/multi_usrp_rfnoc.cpp
index bee19215c..d1d90ed4d 100644
--- a/host/lib/usrp/multi_usrp_rfnoc.cpp
+++ b/host/lib/usrp/multi_usrp_rfnoc.cpp
@@ -1209,7 +1209,7 @@ public:
rx_chain.radio->get_rx_frequency_range(rx_chain.block_chan);
freq_range_t dsp_range =
(rx_chain.ddc) ? rx_chain.ddc->get_frequency_range(rx_chain.block_chan)
- : meta_range_t(0, 0);
+ : meta_range_t(0.0, 0.0);
// Create lambdas to feed to tune_xx_subdev_and_dsp()
// Note: If there is no DDC present, register empty lambdas for the DSP functions
auto set_rf_freq = [rx_chain](double freq) {
@@ -1840,7 +1840,7 @@ public:
tx_chain.radio->get_tx_frequency_range(tx_chain.block_chan);
freq_range_t dsp_range =
(tx_chain.duc) ? tx_chain.duc->get_frequency_range(tx_chain.block_chan)
- : meta_range_t(0, 0);
+ : meta_range_t(0.0, 0.0);
// Create lambdas to feed to tune_xx_subdev_and_dsp()
// Note: If there is no DDC present, register empty lambdas for the DSP functions
auto set_rf_freq = [tx_chain](double freq) {
diff --git a/host/lib/usrp/x300/x300_radio_control.cpp b/host/lib/usrp/x300/x300_radio_control.cpp
index 73006a7c8..54f03fc6c 100644
--- a/host/lib/usrp/x300/x300_radio_control.cpp
+++ b/host/lib/usrp/x300/x300_radio_control.cpp
@@ -821,7 +821,7 @@ public:
} else {
RFNOC_LOG_WARNING(
"This device does not support querying the TX DC offset range.");
- return meta_range_t(0, 0);
+ return meta_range_t(0.0, 0.0);
}
}
@@ -864,7 +864,7 @@ public:
} else {
RFNOC_LOG_WARNING(
"This device does not support querying the rx DC offset range.");
- return meta_range_t(0, 0);
+ return meta_range_t(0.0, 0.0);
}
}