rfspace: use boost::chrono for sleeping

soapy_support
Dimitri Stolnikov 6 years ago
parent 20a5fd1a68
commit 43df1c98c4
  1. 4
      lib/rfspace/rfspace_source_c.cc

@ -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…
Cancel
Save