diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2015-08-17 10:21:20 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-09-01 13:39:49 -0700 |
commit | dbf09cabf44c2bfff767e350b65f92a586819b34 (patch) | |
tree | 7441cad0c3a6ff3c6e6ad834731b8fb24e11e4ef /host | |
parent | 0d290169f26f8f174ab93f7994207bcbf223ca9a (diff) | |
download | uhd-dbf09cabf44c2bfff767e350b65f92a586819b34.tar.gz uhd-dbf09cabf44c2bfff767e350b65f92a586819b34.tar.bz2 uhd-dbf09cabf44c2bfff767e350b65f92a586819b34.zip |
OctoClock: shortened bootloader's wait for burner signal
Diffstat (limited to 'host')
-rw-r--r-- | host/utils/octoclock_firmware_burner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/octoclock_firmware_burner.cpp b/host/utils/octoclock_firmware_burner.cpp index 272394860..c338cd818 100644 --- a/host/utils/octoclock_firmware_burner.cpp +++ b/host/utils/octoclock_firmware_burner.cpp @@ -273,7 +273,7 @@ bool reset_octoclock(const std::string &ip_addr){ throw uhd::runtime_error("Failed to place device in state to receive firmware."); } - boost::this_thread::sleep(boost::posix_time::milliseconds(3000)); + boost::this_thread::sleep(boost::posix_time::milliseconds(500)); return (bootloader_find(ip_addr).size() == 1); } @@ -416,7 +416,7 @@ int UHD_SAFE_MAIN(UHD_UNUSED(int argc), UHD_UNUSED(char *argv[])){ std::cout << "done." << std::endl; std::cout << "Waiting for OctoClock to reinitialize..." << std::flush; - boost::this_thread::sleep(boost::posix_time::milliseconds(5000)); + boost::this_thread::sleep(boost::posix_time::milliseconds(500)); octoclocks = device::find(str(boost::format("addr=%s") % ip_addr), device::CLOCK); if(octoclocks.size() == 1){ if(octoclocks[0]["type"] == "octoclock-bootloader"){ |