From 0be5e5bcc83c2aa2613d86e0a52c6afbec7a50d7 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 30 Nov 2017 06:15:58 +0700 Subject: preprocess_tx_burst: fix the output message During the code refactoring (4bd990b), the first part of the output message was accidently dropped. Let's fix this. --- lib/transmitter/preprocess_tx_burst_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/transmitter/preprocess_tx_burst_impl.cc b/lib/transmitter/preprocess_tx_burst_impl.cc index 5a89390..5fbac98 100644 --- a/lib/transmitter/preprocess_tx_burst_impl.cc +++ b/lib/transmitter/preprocess_tx_burst_impl.cc @@ -86,7 +86,7 @@ namespace gr { // Prepare an output message pmt::pmt_t blob_out = pmt::make_blob(burst_bits, burst_len); - pmt::pmt_t msg_out = pmt::cons(pmt::PMT_NIL, blob_out); + pmt::pmt_t msg_out = pmt::cons(pmt::car(msg_in), blob_out); /* Send a message to the output */ message_port_pub(pmt::mp("bursts_out"), msg_out); -- cgit v1.2.3