summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/ConstellationDisplayPlot.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/ConstellationDisplayPlot.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/ConstellationDisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/ConstellationDisplayPlot.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/ConstellationDisplayPlot.cc b/gr-qtgui/lib/ConstellationDisplayPlot.cc
index 7ec2db820..fc3293bc7 100644
--- a/gr-qtgui/lib/ConstellationDisplayPlot.cc
+++ b/gr-qtgui/lib/ConstellationDisplayPlot.cc
@@ -58,7 +58,7 @@ protected:
ConstellationDisplayPlot::ConstellationDisplayPlot(QWidget* parent)
: QwtPlot(parent)
{
- timespec_reset(&_lastReplot);
+ highres_timespec_reset(&_lastReplot);
resize(parent->width(), parent->height());
@@ -183,7 +183,7 @@ void ConstellationDisplayPlot::PlotNewData(const double* realDataPoints,
const double timeInterval)
{
if((numDataPoints > 0) &&
- (diff_timespec(get_highres_clock(), _lastReplot) > timeInterval)) {
+ (diff_highres_timespec(get_highres_clock(), _lastReplot) > timeInterval)) {
if(numDataPoints != _numPoints){
_numPoints = numDataPoints;