diff options
author | ttsou <ttsou@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2012-02-14 01:52:10 +0000 |
---|---|---|
committer | ttsou <ttsou@19bc5d8c-e614-43d4-8b26-e1612bc8e597> | 2012-02-14 01:52:10 +0000 |
commit | 37720bebbceea2eb1bf89898825d26d6cab07b03 (patch) | |
tree | fc9f462b7f3976c4a772494888b7680598c12e79 | |
parent | b371ed54c780ca0b498a18c0efc692bc7b865862 (diff) |
transceiver, uhd: display device information on make failure
The failure "UHD make failed" implies that a suitable device
was found, but construction failed. Output the the found
target device information along with message.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3181 19bc5d8c-e614-43d4-8b26-e1612bc8e597
-rw-r--r-- | Transceiver52M/UHDDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/UHDDevice.cpp b/Transceiver52M/UHDDevice.cpp index 5420575..cb90410 100644 --- a/Transceiver52M/UHDDevice.cpp +++ b/Transceiver52M/UHDDevice.cpp @@ -440,7 +440,7 @@ bool uhd_device::open() try { usrp_dev = uhd::usrp::multi_usrp::make(dev_addrs[0]); } catch(...) { - LOG(ALERT) << "UHD make failed"; + LOG(ALARM) << "UHD make failed, device " << dev_addrs[0].to_string(); return false; } |