aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-07-28 09:59:40 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-08-29 07:37:03 -0700
commitdb35bf46a5330d26aa94d85b62d7b8f7ca43745f (patch)
treeb6e11c8f35ecdc0e495356dddb9a58502aa75bbd
parent6d99396a8355bb6273564857716f4504053d0882 (diff)
downloaduhd-db35bf46a5330d26aa94d85b62d7b8f7ca43745f.tar.gz
uhd-db35bf46a5330d26aa94d85b62d7b8f7ca43745f.tar.bz2
uhd-db35bf46a5330d26aa94d85b62d7b8f7ca43745f.zip
x300_dboard_iface: added UHD_UNUSED() macro to unused parameters in set_clock_enabled()
* Removes GCC warning about unused parameters
-rw-r--r--host/lib/usrp/x300/x300_dboard_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_dboard_iface.cpp b/host/lib/usrp/x300/x300_dboard_iface.cpp
index 43da7ca08..eff5183e0 100644
--- a/host/lib/usrp/x300/x300_dboard_iface.cpp
+++ b/host/lib/usrp/x300/x300_dboard_iface.cpp
@@ -180,7 +180,7 @@ std::vector<double> x300_dboard_iface::get_clock_rates(unit_t unit)
}
}
-void x300_dboard_iface::set_clock_enabled(unit_t unit, bool enb)
+void x300_dboard_iface::set_clock_enabled(UHD_UNUSED(unit_t unit), UHD_UNUSED(bool enb))
{
// TODO Variable DBoard clock control needs to be implemented for X300.
}