summaryrefslogtreecommitdiff
path: root/grc/python/Generator.py
diff options
context:
space:
mode:
authorRichard C. Bell <richard.bell1@navy.mil>2015-06-01 18:35:52 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2015-06-14 07:37:19 -0700
commitcba91e3a25d27e39379fe41381beaf55a52ab43f (patch)
tree8f7d5cceb65ed0c3bfac9fed12d5c6c8b0dc8d29 /grc/python/Generator.py
parent6057a6c3225618ab9f455c58785041a0ea9074dc (diff)
Fix an error in which the wrong header is allowed through
Added break statements to every case. This fixed issues we were having with this block in which the wrong header would be allowed through, sometimes seconds after start, sometimes hours after start, depending on the HPD settings used. With the break statements, general_work must be called each time a new state begins, which removes any sample offset issues that could be happening in the original fall through method. I suspect the original methods issue is caused by the check_items_available function, though I have not confirmed this. I've tested this fix against the current built-in block implementation in my own custom flowgraph, and in the rx_ofdm.grc example. The fix works in both cases.
Diffstat (limited to 'grc/python/Generator.py')
0 files changed, 0 insertions, 0 deletions