mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-11 02:09:03 -04:00
Correct a logic error in activating the PTTtest button.
Disable attempted control of T/R switching via HRD: it does not work, as coded. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3311 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
@@ -178,18 +178,21 @@ vfo_t Rig::getVFO()
|
||||
int Rig::setPTT(ptt_t ptt, vfo_t vfo)
|
||||
{
|
||||
if(m_hrd) {
|
||||
/*
|
||||
#ifdef WIN32
|
||||
const wchar_t* cmnd = (const wchar_t*) (m_context +
|
||||
"Set Button-Select Send 1").utf16();
|
||||
const wchar_t* result=HRDInterfaceSendMessage(cmnd);
|
||||
QString t2=QString::fromWCharArray (result,-1);
|
||||
HRDInterfaceFreeString(result);
|
||||
qDebug() << t2;
|
||||
if(t2=="OK") {
|
||||
return 0;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
} else {
|
||||
return rig_set_ptt(theRig, vfo, ptt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user