From f043624fd755e336467fcc28158f69f2fd44959c Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sun, 30 Jul 2006 04:50:24 +0000 Subject: [PATCH] - 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 --- ptt_unix.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ptt_unix.c b/ptt_unix.c index 98eae45a0..446443080 100644 --- a/ptt_unix.c +++ b/ptt_unix.c @@ -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: