aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/e300/e300_impl.cpp')
-rw-r--r--host/lib/usrp/e300/e300_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/e300/e300_impl.cpp b/host/lib/usrp/e300/e300_impl.cpp
index b4011eda0..78b1f05b1 100644
--- a/host/lib/usrp/e300/e300_impl.cpp
+++ b/host/lib/usrp/e300/e300_impl.cpp
@@ -526,8 +526,8 @@ e300_impl::e300_impl(const uhd::device_addr_t &device_addr)
case usrp::gpio_atr::GPIO_SRC:
_tree->create<std::vector<std::string>>(mb_path / "gpio" / "INT0" / attr.second)
.set(std::vector<std::string>(32, usrp::gpio_atr::default_attr_value_map.at(attr.first)))
- .add_coerced_subscriber([this](const std::vector<std::string> str_val){
- throw uhd::runtime_error("This device does not support set SRC attribute.");
+ .add_coerced_subscriber([this](const std::vector<std::string>&){
+ throw uhd::runtime_error("This device does not support setting the GPIO_SRC attribute.");
});
break;
case usrp::gpio_atr::GPIO_CTRL: