Skip to content

Commit

Permalink
items.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Dec 20, 2023
1 parent 48358be commit 84bc958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamutrf/grsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def work(self, input_items, output_items):
return len(samples)


def get_throttle(samp_rate, rate=0.1):
def get_throttle(samp_rate, items=1024):
return blocks.throttle(
gr.sizeof_gr_complex, samp_rate, True, max(int(rate * samp_rate), 1)
gr.sizeof_gr_complex, samp_rate, True, items)
)


Expand Down

0 comments on commit 84bc958

Please sign in to comment.