diff options
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_c.cc | 2 | ||||
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_f.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_c.cc b/gr-qtgui/lib/qtgui_time_sink_c.cc index f3bc168b2..6c4793ea1 100644 --- a/gr-qtgui/lib/qtgui_time_sink_c.cc +++ b/gr-qtgui/lib/qtgui_time_sink_c.cc @@ -94,7 +94,7 @@ qtgui_time_sink_c::initialize() // initialize update time to 10 times a second set_update_time(0.1); - d_last_time = {0,0}; + timespec_reset(&d_last_time); } diff --git a/gr-qtgui/lib/qtgui_time_sink_f.cc b/gr-qtgui/lib/qtgui_time_sink_f.cc index 056e6e119..28789c163 100644 --- a/gr-qtgui/lib/qtgui_time_sink_f.cc +++ b/gr-qtgui/lib/qtgui_time_sink_f.cc @@ -94,7 +94,7 @@ qtgui_time_sink_f::initialize() // initialize update time to 10 times a second set_update_time(0.1); - d_last_time = {0,0}; + timespec_reset(&d_last_time); } |