Correct the logic for setting btxok0.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@4597 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2014-11-14 00:26:36 +00:00
parent 0628c0d9e4
commit 29e7ac3b87
1 changed files with 2 additions and 4 deletions

View File

@ -1485,10 +1485,8 @@ void MainWindow::guiUpdate()
}
// If btxok was just lowered, start a countdown for lowering PTT
if(!btxok && btxok0 && iptt==1) {
nc0=-11; //RxDelay = 1.0 s
btxok0=false;
}
if(!btxok && btxok0 && iptt==1) nc0=-11; //RxDelay = 1.0 s
btxok0=btxok;
if(nc0 <= 0) nc0++;
if(nc0 == 0) {
if(m_bIQxt) g_pWideGraph->rx570(); // Set Si570 back to Rx Freq