From db35bf46a5330d26aa94d85b62d7b8f7ca43745f Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 28 Jul 2014 09:59:40 -0700 Subject: x300_dboard_iface: added UHD_UNUSED() macro to unused parameters in set_clock_enabled() * Removes GCC warning about unused parameters --- host/lib/usrp/x300/x300_dboard_iface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp') 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 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. } -- cgit v1.2.3