1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-21 03:28:59 -04:00

Temporary diagnostics.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5436 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-05-28 00:26:48 +00:00
parent 75ed079a1b
commit c68ade4c13
2 changed files with 4 additions and 3 deletions

View File

@ -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;
}

View File

@ -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);