Fic a newly introduced bug in soundout.cpp.

Fix two compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@3652 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2014-01-20 15:55:49 +00:00
parent 661265ae0f
commit 1b98096ed0
4 changed files with 3 additions and 4 deletions

View File

@ -1461,7 +1461,7 @@
<attribute name="title">
<string>Si570 Control</string>
</attribute>
<widget class="QWidget" name="layoutWidget">
<widget class="QWidget" name="layoutWidget_6">
<property name="geometry">
<rect>
<x>40</x>

View File

@ -63,7 +63,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
if(nsec!=nsec0) {
// qDebug() << txPower << iqAmp << iqPhase << amp << xAmp << yAmp << dPhase << bTune;
// qDebug() << "A" << nsec%60 << bTune << btxok;
ic=0;
// ic=0;
nsec0=nsec;
}

View File

@ -38,7 +38,7 @@ void TxTune::on_pwrSlider_valueChanged(int n)
{
txPower=n;
QString t;
t.sprintf("%d \%",n);
t.sprintf("%d %%",n);
ui->labPower->setText(t);
}

View File

@ -361,7 +361,6 @@ void WideGraph::tx570()
m_bIQxt=true;
double f=ui->widePlot->txFreq();
double f1=m_mult570Tx*(1.0+0.000001*m_cal570) * f;
int nHz = 1000000.0*f1 + 0.5;
#ifdef WIN32
int iret=set570(f1);
if(iret != 0) {