From 6f03ce7e11edb267d38d2b6f437e2f6c28fa81ba Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Mon, 29 Jun 2020 17:40:09 +0200 Subject: [PATCH] srsLTE: minor radio fix --- lib/src/radio/radio.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/radio/radio.cc b/lib/src/radio/radio.cc index e2d73439c..400151019 100644 --- a/lib/src/radio/radio.cc +++ b/lib/src/radio/radio.cc @@ -432,7 +432,7 @@ bool radio::tx_dev(const uint32_t& device_idx, rf_buffer_interface& buffer, cons srslte_timestamp_add(&end_of_burst_time[device_idx], 0, (double)nof_samples / cur_tx_srate); void* radio_buffers[SRSLTE_MAX_CHANNELS] = {}; - if (not map_channels(rx_channel_mapping, device_idx, sample_offset, buffer, radio_buffers)) { + if (not map_channels(tx_channel_mapping, device_idx, sample_offset, buffer, radio_buffers)) { log_h->error("Mapping logical channels to physical channels for transmission\n"); return false; }