summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/message_debug_impl.h
diff options
context:
space:
mode:
authorJacob Gilbert <jacob.gilbert@protonmail.com>2021-02-15 15:07:45 -0800
committerMartin Braun <martin@gnuradio.org>2021-02-25 04:09:18 -0800
commit044b4a3b49b67adfe53e0e88f9adf847a25fad61 (patch)
tree4d4e54c46eaddd6c2b63c7693996c307f477bf0e /gr-blocks/lib/message_debug_impl.h
parentf42166bba7dd3f4df5bc164473fcfe0880d057ef (diff)
gr-blocks: deprecate print_pdu port of message_debug block
Having two print ports on this block has confused a number of people, most recently issue #4191, and combining them is straightforward and should make this block easier to use. The print_pdu formatting is now be applied on the print port if the message is a PDU. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
Diffstat (limited to 'gr-blocks/lib/message_debug_impl.h')
-rw-r--r--gr-blocks/lib/message_debug_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-blocks/lib/message_debug_impl.h b/gr-blocks/lib/message_debug_impl.h
index c9fc65391c..b7eba50160 100644
--- a/gr-blocks/lib/message_debug_impl.h
+++ b/gr-blocks/lib/message_debug_impl.h
@@ -30,7 +30,8 @@ private:
* This port receives messages from the scheduler's message
* handling mechanism and prints it to stdout. This message
* handler function is only meant to be used by the scheduler to
- * handle messages posted to port 'print'.
+ * handle messages posted to port 'print'. If the message is a
+ * PDU, special formatting will be applied.
*
* \param msg A pmt message passed from the scheduler's message handling.
*/
@@ -39,6 +40,8 @@ private:
/*!
* \brief PDU formatted messages received in this port are printed to stdout.
*
+ * DEPRECATED as of 3.10 use print() for all printing!
+ *
* This port receives messages from the scheduler's message
* handling mechanism and prints it to stdout. This message
* handler function is only meant to be used by the scheduler to