- 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

View File

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