Skip to content

Commit

Permalink
workaround for get_tags_in_window bug in GR 3.8.2 and 3.8.3
Browse files Browse the repository at this point in the history
Workaround for nasty bug fixed in https://github.com/gnuradio/gnuradio/pull/5166/files it was backported to maint-3.9 but there might be folks with 3.9.2 or 3.9.3 that don't have the backport
  • Loading branch information
777arc authored and mhostetter committed Jan 20, 2022
1 parent 50e0629 commit 5d0361d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/demod.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def work(self, input_items, output_items):
self.straddled_packet = 0

# Get tags from ADS-B Framer block
tags = self.get_tags_in_window(0, 0, len(in0), pmt.to_pmt("burst"))
tags = self.get_tags_in_range(0, self.nitems_read(0), self.nitems_read(0) + len(in0), pmt.to_pmt("burst"))

for tag in tags:
# Grab metadata for this tag
Expand Down

0 comments on commit 5d0361d

Please sign in to comment.