aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-01-11 16:12:23 -0800
committerAshish Chaudhari <ashish@ettus.com>2016-01-11 16:12:23 -0800
commitb9eb25bafc03ec18cbb6a122c5107774c365620c (patch)
tree3d5b45935df1d38e2fe263ee3bc5a1385e0692a0 /host/lib/usrp
parent6b367da7ef6ab6adce39a02646f84d2ab396181c (diff)
downloaduhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.tar.gz
uhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.tar.bz2
uhd-b9eb25bafc03ec18cbb6a122c5107774c365620c.zip
bugfix#366: X300: PCIe: Live load of firmware fails
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
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;
}