Increased uhd timeout

This commit is contained in:
Ismael Gomez 2018-06-26 14:52:00 +02:00
parent 492958fdba
commit ea3fdf7f51
1 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@ int rf_uhd_recv_with_time_multi(void *h,
rxd_samples = 0;
uhd_error error = uhd_rx_streamer_recv(handler->rx_stream, buffs_ptr,
num_rx_samples, md, 0.1, false, &rxd_samples);
num_rx_samples, md, 0.5, false, &rxd_samples);
if (error) {
fprintf(stderr, "Error receiving from UHD: %d\n", error);
log_rx_error(handler);
@ -892,7 +892,7 @@ int rf_uhd_send_timed_multi(void *h,
buffs_ptr[i] = buff;
}
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr,
tx_samples, &handler->tx_md, 0.1, &txd_samples);
tx_samples, &handler->tx_md, 0.5, &txd_samples);
if (error) {
fprintf(stderr, "Error sending to UHD: %d\n", error);
goto unlock;