aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-11-30 06:15:58 +0700
committerPiotr Krysik <ptrkrysik@users.noreply.github.com>2017-11-30 13:08:30 +0100
commit0be5e5bcc83c2aa2613d86e0a52c6afbec7a50d7 (patch)
treecd52f5f6536dcf197d14f091f222a0a4753d81de /lib
parent294138d277f138c802aa5ad084c91d6325284491 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/transmitter/preprocess_tx_burst_impl.cc2
1 files changed, 1 insertions, 1 deletions
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);