parent
7009f9cdb9
commit
ed96930438
|
@ -50,7 +50,7 @@ namespace gr
|
||||||
d_repeat (repeat),
|
d_repeat (repeat),
|
||||||
d_running (true)
|
d_running (true)
|
||||||
{
|
{
|
||||||
d_buf = new uint8_t (msg.length ());
|
d_buf = new uint8_t[msg.length ()];
|
||||||
memcpy (d_buf, msg.c_str (), msg.length ());
|
memcpy (d_buf, msg.c_str (), msg.length ());
|
||||||
message_port_register_out (pmt::mp ("msg"));
|
message_port_register_out (pmt::mp ("msg"));
|
||||||
boost::shared_ptr<boost::thread> (
|
boost::shared_ptr<boost::thread> (
|
||||||
|
|
|
@ -305,9 +305,6 @@ namespace gr
|
||||||
message_port_pub (pmt::mp ("pdu"),
|
message_port_pub (pmt::mp ("pdu"),
|
||||||
pmt::make_blob(d_ax25_buf, ax25_frame_len));
|
pmt::make_blob(d_ax25_buf, ax25_frame_len));
|
||||||
}
|
}
|
||||||
else{
|
|
||||||
LOG_WARN("AX.25 decoding failed.");
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We are done here. Whitening and FSK CRC is not supported
|
* We are done here. Whitening and FSK CRC is not supported
|
||||||
|
|
Loading…
Reference in New Issue