diff options
Diffstat (limited to 'gr-blocks/python/blocks/qa_block_gateway.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_block_gateway.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/python/blocks/qa_block_gateway.py b/gr-blocks/python/blocks/qa_block_gateway.py index 8088b59a85..7205fe3315 100644 --- a/gr-blocks/python/blocks/qa_block_gateway.py +++ b/gr-blocks/python/blocks/qa_block_gateway.py @@ -125,7 +125,7 @@ class tag_source(gr.sync_block): if self.nitems_written(0) == 0: # skip tagging in the first work block return num_output_items - + # make a new tag on the middle element every time work is called count = self.nitems_written(0) + num_output_items // 2 key = pmt.string_to_symbol("example_key") |