diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-09-02 13:39:02 -0400 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2015-09-02 13:39:02 -0400 |
commit | 01b2a2b5b234e56005a507fe343360dbfd0fc129 (patch) | |
tree | 52f2f470e52a97f22f4ff4898078ae7f7e1df2e9 /host | |
parent | 8adefb1d80f08a53856fef45b80ed5a07f0a9a26 (diff) | |
download | uhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.tar.gz uhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.tar.bz2 uhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.zip |
b200: fix startup bad USB state detection printout to use endl instead of flush to print cleanly.
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 12baa1c14..19b01caaf 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -259,7 +259,7 @@ static device::sptr b200_make(const device_addr_t &device_addr) return device::sptr(new b200_impl(device_addr, handle)); } catch (const uhd::usb_error &) { - UHD_MSG(status) << "Detected bad USB state; resetting." << std::flush; + UHD_MSG(status) << "Detected bad USB state; resetting." << std::endl; libusb::device_handle::sptr dev_handle(libusb::device_handle::get_cached_handle( boost::static_pointer_cast<libusb::special_handle>(handle)->get_device() )); |