diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-02-14 16:29:22 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-02-14 16:29:22 -0500 |
commit | 3a9a4b44f95d848e28bef679454f8d9e4bdc219b (patch) | |
tree | 2a8d2fc8964af3c37145bb1a9b8a20b5daec8256 /gr-qtgui/lib/const_sink_c_impl.cc | |
parent | 15ff8253acacddf195bb54bc234e88ee76108c81 (diff) |
qtgui: allows setting of update rate in GRC for all QTGUI plotters.
Diffstat (limited to 'gr-qtgui/lib/const_sink_c_impl.cc')
-rw-r--r-- | gr-qtgui/lib/const_sink_c_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc index 759da32cde..9b01d1659e 100644 --- a/gr-qtgui/lib/const_sink_c_impl.cc +++ b/gr-qtgui/lib/const_sink_c_impl.cc @@ -104,7 +104,6 @@ namespace gr { d_main_gui->setNPoints(d_size); // initialize update time to 10 times a second set_update_time(0.1); - d_last_time = 0; } void @@ -146,6 +145,7 @@ namespace gr { gruel::high_res_timer_type tps = gruel::high_res_timer_tps(); d_update_time = t * tps; d_main_gui->setUpdateTime(t); + d_last_time = 0; } void |