aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp2
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
index a5f33be2c..4e567c493 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
@@ -97,7 +97,7 @@ double magnesium_ad9371_iface::get_gain(const size_t chan, const direction_t dir
return retval;
}
-double magnesium_ad9371_iface::get_bandwidth(const size_t chan, const direction_t dir)
+double magnesium_ad9371_iface::get_bandwidth(const size_t /*chan*/, const direction_t /*dir*/)
{
// TODO: implement
UHD_LOG_WARNING(_L, "Ignoring attempt to get bandwidth");
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
index ab0bf0ea7..05f7b48a6 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp
@@ -634,7 +634,7 @@ freq_range_t magnesium_radio_ctrl_impl::get_tx_lo_freq_range(
void magnesium_radio_ctrl_impl::set_tx_lo_source(
const std::string &src,
const std::string &name,
- const size_t chan
+ const size_t /*chan*/
) {
UHD_LOG_TRACE(unique_id(), "Attempting to set tx LO." <<"LO "<<name<<" to "<<src << " at "<<chan);
//TODO: checking what options are there