From 076dd81984164b9e6a8e38ce2fa68fabf1db3b47 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 23 Feb 2018 11:22:43 -0800 Subject: fixup! x300,n230,e300: changes to adapt to new usrp API Fixes some compiler warnings. --- host/lib/usrp/x300/x300_radio_ctrl_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/x300/x300_radio_ctrl_impl.cpp') diff --git a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp index 88bbcf342..38d9c2c66 100644 --- a/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp +++ b/host/lib/usrp/x300/x300_radio_ctrl_impl.cpp @@ -77,8 +77,8 @@ UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR(x300_radio_ctrl) case usrp::gpio_atr::GPIO_SRC: _tree->create>(fs_path("gpio") / "FP0" / attr.second) .set(std::vector(32, usrp::gpio_atr::default_attr_value_map.at(attr.first))) - .add_coerced_subscriber([this](const std::vector str_val){ - throw uhd::runtime_error("This device does not support set SRC attribute."); + .add_coerced_subscriber([this](const std::vector&){ + throw uhd::runtime_error("This device does not support setting the GPIO_SRC attribute."); }); break; case usrp::gpio_atr::GPIO_CTRL: -- cgit v1.2.3