From ea3fdf7f51b7458b9aa8f3b741699218627fab69 Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 26 Jun 2018 14:52:00 +0200 Subject: [PATCH] Increased uhd timeout --- lib/src/phy/rf/rf_uhd_imp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/phy/rf/rf_uhd_imp.c b/lib/src/phy/rf/rf_uhd_imp.c index d009bb696..357707324 100644 --- a/lib/src/phy/rf/rf_uhd_imp.c +++ b/lib/src/phy/rf/rf_uhd_imp.c @@ -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;