mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 06:38:44 -05:00
Clean up two warning messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8f72b121a5
commit
c2c2b752d9
@ -12,7 +12,7 @@ program jt65
|
||||
common/hdr/ariff,lenfile,awave,afmt,lenfmt,nfmt2,nchan2, &
|
||||
nsamrate,nbytesec,nbytesam2,nbitsam2,adata,ndata
|
||||
common/tracer/limtrace,lu
|
||||
equivalence (ariff,ihdr)
|
||||
equivalence (lenfile,ihdr(2))
|
||||
|
||||
nargs=iargc()
|
||||
if(nargs.lt.1) then
|
||||
|
@ -1,4 +1,4 @@
|
||||
//---------------------------------------------------------------- MainWindow
|
||||
//--------------------------------------------------------------- MainWindow
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "devsetup.h"
|
||||
@ -797,10 +797,15 @@ void MainWindow::on_actionDeviceSetup_triggered() //Setup Dialog
|
||||
m_bSplit=dlg.m_bSplit;
|
||||
m_bXIT=dlg.m_bXIT;
|
||||
if(m_bSplit or m_bXIT) setXIT(m_txFreq);
|
||||
int ret;
|
||||
if(m_bRigOpen and !m_bSplit) ret=rig->setSplitFreq(MHz(m_dialFreq),RIG_VFO_B);
|
||||
if(m_bRigOpen and !m_bSplit) {
|
||||
int ret=rig->setSplitFreq(MHz(m_dialFreq),RIG_VFO_B);
|
||||
if(ret!=RIG_OK) {
|
||||
QString rt;
|
||||
rt.sprintf("Setting VFO_B failed: %d",ret);
|
||||
msgBox(rt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::on_monitorButton_clicked() //Monitor
|
||||
@ -2973,7 +2978,11 @@ void MainWindow::setXIT(int n)
|
||||
if(m_bXIT) {
|
||||
ret=rig->setXit((shortfreq_t)xit,RIG_VFO_TX);
|
||||
// ret=rig->setSplitFreq(MHz(m_dialFreq),RIG_VFO_A);
|
||||
|
||||
if(ret!=RIG_OK) {
|
||||
QString rt;
|
||||
rt.sprintf("Setting RIG_VFO_TX failed: %d",ret);
|
||||
msgBox(rt);
|
||||
}
|
||||
}
|
||||
if(m_bSplit) ret=rig->setSplitFreq(MHz(m_dialFreq)+xit,RIG_VFO_B);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user