diff --git a/python/demod.py b/python/demod.py index 086caf0..7f0a0eb 100644 --- a/python/demod.py +++ b/python/demod.py @@ -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