From ed969304383506510bae6a0f02939f9ab04e6e4f Mon Sep 17 00:00:00 2001 From: Manolis Surligas Date: Tue, 17 May 2016 20:18:20 +0300 Subject: [PATCH] Small bug fix The new[] deamon appeared again! --- lib/debug_msg_source_impl.cc | 2 +- lib/upsat_fsk_frame_acquisition_impl.cc | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/debug_msg_source_impl.cc b/lib/debug_msg_source_impl.cc index 48f3acc..41d5b21 100644 --- a/lib/debug_msg_source_impl.cc +++ b/lib/debug_msg_source_impl.cc @@ -50,7 +50,7 @@ namespace gr d_repeat (repeat), 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 ()); message_port_register_out (pmt::mp ("msg")); boost::shared_ptr ( diff --git a/lib/upsat_fsk_frame_acquisition_impl.cc b/lib/upsat_fsk_frame_acquisition_impl.cc index 29f84a1..86548f9 100644 --- a/lib/upsat_fsk_frame_acquisition_impl.cc +++ b/lib/upsat_fsk_frame_acquisition_impl.cc @@ -305,9 +305,6 @@ namespace gr message_port_pub (pmt::mp ("pdu"), 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