From abbbae9e81fdb937b7fe7e8778579baed986fc6d Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Thu, 14 Dec 2017 17:36:58 +0100 Subject: [PATCH] rf_uhd_imp tx forces zeros if null pointer buffer --- lib/src/phy/rf/rf_uhd_imp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/rf/rf_uhd_imp.c b/lib/src/phy/rf/rf_uhd_imp.c index c39bb2604..75482eaa1 100644 --- a/lib/src/phy/rf/rf_uhd_imp.c +++ b/lib/src/phy/rf/rf_uhd_imp.c @@ -790,7 +790,7 @@ int rf_uhd_send_timed_multi(void *h, int n = 0; cf_t *data_c[4]; for (int i = 0; i < 4; i++) { - data_c[i] = data[i]; + data_c[i] = data[i] ? data[i] : zero_mem; } do { size_t tx_samples = handler->tx_nof_samples;