mirror of https://github.com/PentHertz/srsLTE.git
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
This commit is contained in:
commit
319f4f4ff2
|
@ -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, 1.0, false, &rxd_samples);
|
||||
num_rx_samples, md, 0.1, 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, 3.0, &txd_samples);
|
||||
tx_samples, &handler->tx_md, 0.1, &txd_samples);
|
||||
if (error) {
|
||||
fprintf(stderr, "Error sending to UHD: %d\n", error);
|
||||
goto unlock;
|
||||
|
@ -914,7 +914,7 @@ int rf_uhd_send_timed_multi(void *h,
|
|||
uhd_tx_metadata_set_has_time_spec(&handler->tx_md, is_start_of_burst);
|
||||
uhd_tx_metadata_set_start(&handler->tx_md, is_start_of_burst);
|
||||
uhd_tx_metadata_set_end(&handler->tx_md, is_end_of_burst);
|
||||
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr, nsamples, &handler->tx_md, 3.0, &txd_samples);
|
||||
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr, nsamples, &handler->tx_md, 0.0, &txd_samples);
|
||||
if (error) {
|
||||
fprintf(stderr, "Error sending to UHD: %d\n", error);
|
||||
goto unlock;
|
||||
|
|
|
@ -39,10 +39,10 @@
|
|||
using namespace std;
|
||||
|
||||
// Enable this to log SI
|
||||
//#define LOG_THIS(a) 1
|
||||
#define LOG_THIS(a) 1
|
||||
|
||||
// Enable this one to skip SI-RNTI
|
||||
#define LOG_THIS(rnti) (rnti != 0xFFFF)
|
||||
//#define LOG_THIS(rnti) (rnti != 0xFFFF)
|
||||
|
||||
|
||||
/* Define GUI-related things */
|
||||
|
|
Loading…
Reference in New Issue