Skip to content

Commit

Permalink
Add a callback to the protocol formatter block
Browse files Browse the repository at this point in the history
Signed-off-by: John Sallay <[email protected]>
  • Loading branch information
jsallay committed Apr 10, 2024
1 parent f6cf83a commit ace4b01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gr-digital/grc/digital_protocol_formatter_bb.block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ outputs:
templates:
imports: from gnuradio import digital
make: digital.protocol_formatter_bb(${format}, ${len_tag_key})
callbacks:
- set_header_format(${format})

cpp_templates:
includes: ['#include <gnuradio/digital/protocol_formatter_bb.h>']
Expand Down

0 comments on commit ace4b01

Please sign in to comment.