Revision c2dc0fe9
| b/host/examples/tx_timed_samples.cpp | ||
|---|---|---|
| 99 | 99 |
//send will backup into the host this many seconds before sending: |
| 100 | 100 |
seconds_in_future + 0.1 //timeout (delay before transmit + padding) |
| 101 | 101 |
); |
| 102 |
if (num_tx_samps == 0) std::cout << "Send timeout..." << std::endl;
|
|
| 102 |
if (num_tx_samps < samps_to_send) std::cout << "Send timeout..." << std::endl;
|
|
| 103 | 103 |
if(verbose) std::cout << std::endl << boost::format("Sent %d samples") % num_tx_samps << std::endl;
|
| 104 | 104 |
} |
| 105 | 105 |
|
Also available in: Unified diff