diff options
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_rotator_cc.block.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gr-blocks/grc/blocks_rotator_cc.block.yml b/gr-blocks/grc/blocks_rotator_cc.block.yml index 19143f98bb..6cd0e1321d 100644 --- a/gr-blocks/grc/blocks_rotator_cc.block.yml +++ b/gr-blocks/grc/blocks_rotator_cc.block.yml @@ -7,10 +7,20 @@ parameters: label: Phase Increment dtype: real default: '0.0' +- id: tag_inc_update + label: Tag Increment Updates + dtype: enum + default: 'False' + options: ['True', 'False'] + option_labels: ['Yes', 'No'] + hide: part inputs: - domain: stream dtype: complex +- domain: message + id: cmd + optional: true outputs: - domain: stream @@ -18,14 +28,14 @@ outputs: templates: imports: from gnuradio import blocks - make: blocks.rotator_cc(${phase_inc}) + make: blocks.rotator_cc(${phase_inc}, ${tag_inc_update}) callbacks: - set_phase_inc(${phase_inc}) cpp_templates: includes: ['#include <gnuradio/blocks/rotator_cc.h>'] declarations: 'blocks::rotator_cc::sptr ${id};' - make: 'this->${id} = blocks::rotator_cc::make(${phase_inc});' + make: 'this->${id} = blocks::rotator_cc::make(${phase_inc}, ${tag_inc_update});' callbacks: - set_phase_inc(${phase_inc}) |