diff options
author | Josh Blum | 2012-09-29 20:29:27 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-09-29 21:44:02 -0700 |
commit | 2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651 (patch) | |
tree | de33516e8d3ef8e0843043527c39f1d6354e9e3d /gr-uhd/lib/gr_uhd_usrp_source.cc | |
parent | 515d1b6f91f5dd28997525b1e88006bbfc0f170a (diff) | |
download | gnuradio-2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651.tar.gz gnuradio-2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651.tar.bz2 gnuradio-2abda17d8ed2794ff5b4bc0d9f61d30d8ffac651.zip |
core: fix implicit assumption in skiphead
skiphead is a gr_block, not sync block, but assumes that the number of input items is at least the number of output items
remove this assumption and make this safe with std::min(ninputs, noutputs)
may be necessary with new scheduler patches that can vary the circular buffer sizes
Diffstat (limited to 'gr-uhd/lib/gr_uhd_usrp_source.cc')
0 files changed, 0 insertions, 0 deletions