Add a setup checkbox "RTS/DTR Off", to enable proper CAT control of

Elecraft K2 (and possibly other rigs?).


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-04-24 19:41:58 +00:00
parent 4a7d5d38c7
commit 338f72bcc4
5 changed files with 50 additions and 6 deletions
+7 -3
View File
@@ -5,7 +5,7 @@
#include <QProcess>
#include <QMessageBox>
#include "ui_devsetup.h"
#include "mainwindow.h"
#include <hamlib/rigclass.h>
class DevSetup : public QDialog
{
@@ -46,6 +46,7 @@ public:
bool m_catEnabled;
bool m_After73;
bool m_bRigOpen;
bool m_bDTRoff;
QString m_myCall;
QString m_myGrid;
@@ -57,8 +58,6 @@ public:
QStringList m_macro;
QStringList m_dFreq;
Rig* rig;
QProcess p4;
QMessageBox msgBox0;
@@ -85,9 +84,14 @@ private slots:
void on_testPTTButton_clicked();
void on_cbDTRoff_toggled(bool checked);
private:
Rig* rig;
void msgBox(QString t);
Ui::DialogSndCard ui;
};
extern int ptt(int nport, int ntx, int* iptt, int* nopen);
#endif // DEVSETUP_H