From 01b2a2b5b234e56005a507fe343360dbfd0fc129 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Wed, 2 Sep 2015 13:39:02 -0400 Subject: b200: fix startup bad USB state detection printout to use endl instead of flush to print cleanly. --- host/lib/usrp/b200/b200_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') 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(handle)->get_device() )); -- cgit v1.2.3