diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-09-01 15:20:42 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-09-01 15:20:42 -0700 |
commit | 6464a000150858b5d65a53490f0593d5ba1e4ca6 (patch) | |
tree | a199c3773d683d9e37fa300900291c3628cff6e4 /host/utils | |
parent | d697bff4547b6a7fb95e127ec12e2989fc6fc2e5 (diff) | |
parent | 8adefb1d80f08a53856fef45b80ed5a07f0a9a26 (diff) | |
download | uhd-6464a000150858b5d65a53490f0593d5ba1e4ca6.tar.gz uhd-6464a000150858b5d65a53490f0593d5ba1e4ca6.tar.bz2 uhd-6464a000150858b5d65a53490f0593d5ba1e4ca6.zip |
Merge branch 'maint'
Diffstat (limited to 'host/utils')
-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"){ |