mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-04 16:31:17 -05:00
- 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:
parent
01416d39fa
commit
f043624fd7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user