summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/FrequencyDisplayPlot.cc
diff options
context:
space:
mode:
authorJosh Blum2011-06-07 21:48:02 -0400
committerTom Rondeau2011-06-07 21:48:02 -0400
commit697562c3d4319ab6f13e4c2910a853409731595d (patch)
tree9ab54b8e3a3e17bed020783f1a5ef6f9c7377b0a /gr-qtgui/lib/FrequencyDisplayPlot.cc
parent275d14afc2b2f4088db204213cf14ab75499cc4e (diff)
downloadgnuradio-697562c3d4319ab6f13e4c2910a853409731595d.tar.gz
gnuradio-697562c3d4319ab6f13e4c2910a853409731595d.tar.bz2
gnuradio-697562c3d4319ab6f13e4c2910a853409731595d.zip
qtgui: replace timespec with typedef so its easier to replace
Diffstat (limited to 'gr-qtgui/lib/FrequencyDisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/FrequencyDisplayPlot.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/FrequencyDisplayPlot.cc b/gr-qtgui/lib/FrequencyDisplayPlot.cc
index 4d60cd9be..e8c8e230d 100644
--- a/gr-qtgui/lib/FrequencyDisplayPlot.cc
+++ b/gr-qtgui/lib/FrequencyDisplayPlot.cc
@@ -120,7 +120,7 @@ FrequencyDisplayPlot::FrequencyDisplayPlot(QWidget* parent)
_startFrequency = 0;
_stopFrequency = 4000;
- timespec_reset(&_lastReplot);
+ highres_timespec_reset(&_lastReplot);
resize(parent->width(), parent->height());
@@ -362,7 +362,7 @@ FrequencyDisplayPlot::PlotNewData(const double* dataPoints, const int64_t numDat
{
// Only update plot if there is data and if the time interval has elapsed
if((numDataPoints > 0) &&
- (diff_timespec(get_highres_clock(), _lastReplot) > timeInterval)) {
+ (diff_highres_timespec(get_highres_clock(), _lastReplot) > timeInterval)) {
if(numDataPoints != _numPoints) {
_numPoints = numDataPoints;