forked from sdr/gr-osmosdr
rfspace: use boost::chrono for sleeping
This commit is contained in:
parent
20a5fd1a68
commit
43df1c98c4
|
@ -343,8 +343,10 @@ rfspace_source_c::rfspace_source_c (const std::string &args)
|
|||
|
||||
}
|
||||
|
||||
/* Wait 10 ms before sending queries to device (required for networked radios). */
|
||||
boost::this_thread::sleep_for(boost::chrono::milliseconds(10));
|
||||
|
||||
/* request & print device information */
|
||||
usleep(10000);
|
||||
|
||||
std::vector< unsigned char > response;
|
||||
|
||||
|
|
Loading…
Reference in New Issue