From c68ade4c13cd260341da5ecb1531dae0fa3c5fff Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 28 May 2015 00:26:48 +0000 Subject: [PATCH] Temporary diagnostics. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5436 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 5 +++-- plotter.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 5bdda3d82..77921ee82 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1918,7 +1918,7 @@ void MainWindow::guiUpdate() m_btxok=false; } if(m_bandHopping and m_ntr==1) { -// qDebug() << "Call bandHopping after Rx" << m_nseq << m_ntr << m_nrx << m_rxDone; + qDebug() << "Call bandHopping after Rx" << m_nseq << m_ntr << m_nrx << m_rxDone; bandHopping(); m_ntr=0; //This WSPR Rx sequence is complete } @@ -2143,6 +2143,7 @@ void MainWindow::guiUpdate() } if(nsec != m_sec0) { //Once per second + qDebug() << "A" << nsec << m_pctx << m_rxavg << m_nrx; int ipct=0; if(m_monitoring or m_transmitting) ipct=int(100*m_nseq/txDuration); progressBar->setValue(ipct); @@ -2282,7 +2283,7 @@ void MainWindow::stopTx2() m_repeatMsg=0; } if(m_mode.mid(0,4)=="WSPR" and m_ntr==-1 and m_bandHopping and !m_tuneup) { -// qDebug () << "Call bandHopping after Tx" << m_tuneup; + qDebug () << "Call bandHopping after Tx" << m_tuneup; bandHopping(); m_ntr=0; } diff --git a/plotter.cpp b/plotter.cpp index 662937433..ff2b896d7 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -96,7 +96,7 @@ void CPlotter::draw(float swide[], bool bScroll) //dr double fac = sqrt(m_binsPerPixel*m_waterfallAvg/15.0); double gain = fac*pow(10.0,0.02*m_plotGain); double gain2d = pow(10.0,0.02*(m_plot2dGain)); - qDebug() << m_binsPerPixel << m_waterfallAvg << m_plotGain << gain; +// qDebug() << m_binsPerPixel << m_waterfallAvg << m_plotGain << gain; //move current data down one line (must do this before attaching a QPainter object) if(bScroll) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);