From 95deb18c39e6814481ce57aae131639c8cd78217 Mon Sep 17 00:00:00 2001 From: ismagom Date: Thu, 17 Dec 2015 00:18:43 +0100 Subject: [PATCH] Removed unnecessary timestamp requests in bladeRF send function --- srslte/lib/rf/src/rf_blade_imp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/srslte/lib/rf/src/rf_blade_imp.c b/srslte/lib/rf/src/rf_blade_imp.c index b027ad755..f8d0db817 100644 --- a/srslte/lib/rf/src/rf_blade_imp.c +++ b/srslte/lib/rf/src/rf_blade_imp.c @@ -421,10 +421,6 @@ int rf_blade_recv_with_time(void *h, } timestamp_to_secs(handler->rx_rate, meta.timestamp, secs, frac_secs); - uint64_t rx_timestamp, rx_timestamp2, tx_timestamp; - bladerf_get_timestamp(handler->dev, BLADERF_MODULE_RX, &rx_timestamp); - bladerf_get_timestamp(handler->dev, BLADERF_MODULE_RX, &rx_timestamp2); - bladerf_get_timestamp(handler->dev, BLADERF_MODULE_TX, &tx_timestamp); srslte_vec_convert_if(handler->rx_buffer, data, 2048, 2*nsamples); return nsamples;