diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2016-01-11 16:12:23 -0800 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2016-01-11 16:12:23 -0800 |
commit | b9eb25bafc03ec18cbb6a122c5107774c365620c (patch) | |
tree | 3d5b45935df1d38e2fe263ee3bc5a1385e0692a0 | |
parent | 6b367da7ef6ab6adce39a02646f84d2ab396181c (diff) | |
download | uhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.tar.gz uhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.tar.bz2 uhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.zip |
bugfix#366: X300: PCIe: Live load of firmware fails
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 37461e2e5..9a31ac98e 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -363,6 +363,8 @@ static void x300_load_fw(wb_iface::sptr fw_reg_ctrl, const std::string &file_nam if ((i & 0x1fff) == 0) UHD_MSG(status) << "." << std::flush; } + //Wait for fimrware to reboot. 3s is an upper bound + boost::this_thread::sleep(boost::posix_time::milliseconds(3000)); UHD_MSG(status) << " done!" << std::endl; } |