Re-connect the actual calls to set570()!

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@3598 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-11-05 20:10:34 +00:00
parent 69873f9acf
commit 7db0b2f893
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
//------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"

View File

@ -1,6 +1,6 @@
[Setup]
AppName=MAP65
AppVerName=MAP65 Version 2.5 r3595
AppVerName=MAP65 Version 2.5 r3597
AppCopyright=Copyright (C) 2001-2013 by Joe Taylor, K1JT
DefaultDirName=c:\MAP65
DefaultGroupName=MAP65

View File

@ -335,10 +335,10 @@ void WideGraph::on_cbLockTxRx_stateChanged(int n)
void WideGraph::rx570()
{
double f=m_mult570*(1.0+0.000001*m_cal570)*m_dForceCenterFreq;
qDebug() << "Set Rx Freq" << f;
// qDebug() << "Set Rx Freq" << f;
#ifdef WIN32
// int iret=set570(f);
int iret=0;
int iret=set570(f);
// int iret=0;
if(iret != 0) {
QMessageBox mb;
@ -356,10 +356,10 @@ void WideGraph::tx570()
double f=ui->widePlot->txFreq();
double f1=m_mult570Tx*(1.0+0.000001*m_cal570) * f;
int nHz = 1000000.0*f1 + 0.5;
qDebug() << "Set Tx Freq" << f1 << nHz;
// qDebug() << "Set Tx Freq" << f1 << nHz;
#ifdef WIN32
// int iret=set570(f1);
int iret=0;
int iret=set570(f1);
// int iret=0;
if(iret != 0) {
QMessageBox mb;