diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-03-27 17:41:13 -0700 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-03-27 17:41:13 -0700 |
commit | f8753a3d7f3616a49f6c0a1ae661f286a4f20c66 (patch) | |
tree | c88bee6725422d1fd4ead1f52cf63c119a3c723c /host/lib/usrp/common/ad9361_ctrl.cpp | |
parent | 89d36657a177ba3405ffb7a537a3e2f744a1e7ce (diff) | |
parent | da99b7edc2d1cfedd9c8acf36630d799782ee455 (diff) | |
download | uhd-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.cpp | 2 |
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; |