Revision ec8005e3
| b/host/lib/usrp/usrp1/usrp1_ctrl.cpp | ||
|---|---|---|
| 19 | 19 |
#include "usrp_commands.h" |
| 20 | 20 |
#include <uhd/transport/usb_control.hpp> |
| 21 | 21 |
#include <boost/functional/hash.hpp> |
| 22 |
#include <boost/thread/thread.hpp> |
|
| 22 | 23 |
#include <iostream> |
| 23 | 24 |
#include <fstream> |
| 24 | 25 |
#include <sstream> |
| ... | ... | |
| 209 | 210 |
usrp_set_firmware_hash(hash); |
| 210 | 211 |
file.close(); |
| 211 | 212 |
|
| 213 |
//wait for things to settle |
|
| 214 |
boost::this_thread::sleep(boost::posix_time::milliseconds(1000)); |
|
| 215 |
|
|
| 212 | 216 |
return USRP_FIRMWARE_LOAD_SUCCESS; |
| 213 | 217 |
} |
| 214 | 218 |
//type anything else is unhandled |
| b/host/lib/usrp/usrp1/usrp1_impl.cpp | ||
|---|---|---|
| 69 | 69 |
} |
| 70 | 70 |
} |
| 71 | 71 |
|
| 72 |
//wait for things to settle |
|
| 73 |
boost::this_thread::sleep(boost::posix_time::milliseconds(1000)); |
|
| 74 |
|
|
| 75 | 72 |
//get descriptors again with serial number |
| 76 | 73 |
device_list = usb_device_handle::get_device_list(); |
| 77 | 74 |
|
Also available in: Unified diff