aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common/ad9361_ctrl.cpp
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-03-27 17:41:13 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-03-27 17:41:13 -0700
commitf8753a3d7f3616a49f6c0a1ae661f286a4f20c66 (patch)
treec88bee6725422d1fd4ead1f52cf63c119a3c723c /host/lib/usrp/common/ad9361_ctrl.cpp
parent89d36657a177ba3405ffb7a537a3e2f744a1e7ce (diff)
parentda99b7edc2d1cfedd9c8acf36630d799782ee455 (diff)
downloaduhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.tar.gz
uhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.tar.bz2
uhd-f8753a3d7f3616a49f6c0a1ae661f286a4f20c66.zip
Merge branch adding warning regarding MCR on the B2xx.
Diffstat (limited to 'host/lib/usrp/common/ad9361_ctrl.cpp')
-rw-r--r--host/lib/usrp/common/ad9361_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/common/ad9361_ctrl.cpp b/host/lib/usrp/common/ad9361_ctrl.cpp
index 1afa2fbb7..10496f2a9 100644
--- a/host/lib/usrp/common/ad9361_ctrl.cpp
+++ b/host/lib/usrp/common/ad9361_ctrl.cpp
@@ -151,7 +151,7 @@ struct ad9361_ctrl_impl : public ad9361_ctrl
//handle errors
const size_t len = my_strnlen(out->error_msg, AD9361_TRANSACTION_MAX_ERROR_MSG);
const std::string error_msg(out->error_msg, len);
- if (not error_msg.empty()) throw uhd::runtime_error("ad9361 do transaction: " + error_msg);
+ if (not error_msg.empty()) throw uhd::runtime_error("[ad9361_ctrl::do_transaction] firmware reported: \"" + error_msg + "\"");
//return result done!
return *out;