Merge pull request #4 from jynik/dev-burst_tagger_fix
burst tagger: Fixed off-by-one in get_tags_in_range() usage
This commit is contained in:
@@ -73,8 +73,7 @@ burst_tagger_impl::work(int noutput_items,
|
||||
std::vector<gr::tag_t> tags;
|
||||
const uint64_t nread = nitems_read(0);
|
||||
|
||||
get_tags_in_range(tags, 0, nread, nread + noutput_items - 1,
|
||||
d_tag_name);
|
||||
get_tags_in_range(tags, 0, nread, nread + noutput_items, d_tag_name);
|
||||
std::sort(tags.begin(), tags.end(), tag_t::offset_compare);
|
||||
|
||||
// copy until the first tag
|
||||
|
||||
Reference in New Issue
Block a user