aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/common
diff options
context:
space:
mode:
authorBalint Seeber <balint@ettus.com>2014-03-19 15:53:27 -0700
committerBalint Seeber <balint@ettus.com>2014-03-19 15:53:27 -0700
commitea66e24a96abcfcb49b907eeebf2f4944118f50e (patch)
tree2eba5c80c9ebfd1abed40cab511edcfb302264f8 /host/lib/usrp/common
parente898450a2e9bff57ebc25b48ed10508ac6383b30 (diff)
downloaduhd-ea66e24a96abcfcb49b907eeebf2f4944118f50e.tar.gz
uhd-ea66e24a96abcfcb49b907eeebf2f4944118f50e.tar.bz2
uhd-ea66e24a96abcfcb49b907eeebf2f4944118f50e.zip
b200: changed ad9361 read timeout handling (kicks in when requesting master_clock_rate above 56MHz)
Diffstat (limited to 'host/lib/usrp/common')
-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;