diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2017-11-30 06:15:58 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2017-11-30 06:28:48 +0700 |
commit | 73857235f0651293eb9396c9ef81058b6935c0db (patch) | |
tree | 7abd974d32352469a259062b2e06032dc30f3b0e /lib | |
parent | 89aa469cf395a24e960a0a9fac3decc7e78f1be2 (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.cc | 2 |
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); |