- Do the actual ptt on/off after open. open + ptt control are

done at the same time in wsjt; there is no separate ptt init. done.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@216 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Diane Bruce 2006-07-30 04:50:24 +00:00
parent 01416d39fa
commit f043624fd7
1 changed files with 4 additions and 1 deletions

View File

@ -127,8 +127,11 @@ ptt_(int *unused, char *ptt_port, int *ntx, int *iptt)
if (dev_is_parport(fd)) {
state = STATE_PORT_OPEN_PARALLEL;
lp_reset(fd);
} else
ptt_parallel(fd, ntx, iptt);
} else {
state = STATE_PORT_OPEN_SERIAL;
ptt_serial(fd, ntx, iptt);
}
break;
case STATE_PORT_OPEN_PARALLEL: