mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-21 06:52:33 -04:00
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:
parent
661265ae0f
commit
1b98096ed0
@ -1461,7 +1461,7 @@
|
|||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Si570 Control</string>
|
<string>Si570 Control</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget_6">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>40</x>
|
||||||
|
@ -63,7 +63,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
|
|||||||
if(nsec!=nsec0) {
|
if(nsec!=nsec0) {
|
||||||
// qDebug() << txPower << iqAmp << iqPhase << amp << xAmp << yAmp << dPhase << bTune;
|
// qDebug() << txPower << iqAmp << iqPhase << amp << xAmp << yAmp << dPhase << bTune;
|
||||||
// qDebug() << "A" << nsec%60 << bTune << btxok;
|
// qDebug() << "A" << nsec%60 << bTune << btxok;
|
||||||
ic=0;
|
// ic=0;
|
||||||
nsec0=nsec;
|
nsec0=nsec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ void TxTune::on_pwrSlider_valueChanged(int n)
|
|||||||
{
|
{
|
||||||
txPower=n;
|
txPower=n;
|
||||||
QString t;
|
QString t;
|
||||||
t.sprintf("%d \%",n);
|
t.sprintf("%d %%",n);
|
||||||
ui->labPower->setText(t);
|
ui->labPower->setText(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -361,7 +361,6 @@ void WideGraph::tx570()
|
|||||||
m_bIQxt=true;
|
m_bIQxt=true;
|
||||||
double f=ui->widePlot->txFreq();
|
double f=ui->widePlot->txFreq();
|
||||||
double f1=m_mult570Tx*(1.0+0.000001*m_cal570) * f;
|
double f1=m_mult570Tx*(1.0+0.000001*m_cal570) * f;
|
||||||
int nHz = 1000000.0*f1 + 0.5;
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
int iret=set570(f1);
|
int iret=set570(f1);
|
||||||
if(iret != 0) {
|
if(iret != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user