summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/const_sink_c_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-10-28 12:21:51 -0400
committerTom Rondeau <tom@trondeau.com>2015-10-29 16:21:04 -0400
commit2a59946b26d5bcadc0aa66879870f49511816086 (patch)
tree0823bdd61e81eb9b85a03c57920a4fe265e55906 /gr-qtgui/lib/const_sink_c_impl.cc
parente3e79e2762468c5c5e679544eae59c68271492dd (diff)
qtgui: moving to only allow either streaming or message modes.
Having both stream and message ports available at the same time will likely cause confusion and problems when trying to plot both. Hides some parameters that have no effect on the operation of the sink in this mode. Also: histogram fixed to support accumulate in message mode.
Diffstat (limited to 'gr-qtgui/lib/const_sink_c_impl.cc')
-rw-r--r--gr-qtgui/lib/const_sink_c_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc
index d76e742f81..7ef8db393d 100644
--- a/gr-qtgui/lib/const_sink_c_impl.cc
+++ b/gr-qtgui/lib/const_sink_c_impl.cc
@@ -67,8 +67,8 @@ namespace gr {
d_index = 0;
// setup PDU handling input port
- message_port_register_in(pmt::mp("pdus"));
- set_msg_handler(pmt::mp("pdus"),
+ message_port_register_in(pmt::mp("in"));
+ set_msg_handler(pmt::mp("in"),
boost::bind(&const_sink_c_impl::handle_pdus, this, _1));
for(int i = 0; i < d_nconnections; i++) {