diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-08-27 10:30:34 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-08-27 10:30:34 -0700 |
commit | bb10a47f37ad0d0fbe9ed4494595de384168a414 (patch) | |
tree | 00696dcd011297e65d6d1c51f64a3402946e9042 /gr-qtgui/lib/time_sink_f_impl.cc | |
parent | afd7c8e43659ec461ae4c4859ecf55ba95304255 (diff) | |
parent | 1c0d7cd79b245b85b516496916a55695452e34ff (diff) |
Merge branch 'next' into python3
Conflicts:
gr-uhd/grc/gen_uhd_usrp_blocks.py
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.cc')
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc index 2b3527702d..2b39b5536c 100644 --- a/gr-qtgui/lib/time_sink_f_impl.cc +++ b/gr-qtgui/lib/time_sink_f_impl.cc @@ -57,6 +57,9 @@ namespace gr { d_size(size), d_buffer_size(2*size), d_samp_rate(samp_rate), d_name(name), d_nconnections(nconnections), d_parent(parent) { + if(nconnections > 24) + throw std::runtime_error("time_sink_f only supports up to 24 inputs"); + // Required now for Qt; argc must be greater than 0 and argv // must have at least one valid character. Must be valid through // life of the qApplication: |