Fixed some Ymodem details
This commit is contained in:
parent
04f0436420
commit
ac2c34c9d5
@ -283,6 +283,8 @@ static int getnak(void)
|
|||||||
case WANTG:
|
case WANTG:
|
||||||
Syslog('x', "getnak: got WANTG");
|
Syslog('x', "getnak: got WANTG");
|
||||||
io_mode(0, 2); /* Set cbreak, XON/XOFF, etc. */
|
io_mode(0, 2); /* Set cbreak, XON/XOFF, etc. */
|
||||||
|
if (!Optiong)
|
||||||
|
Syslog('+', "%s: using Ymodem-G", protname());
|
||||||
Optiong = TRUE;
|
Optiong = TRUE;
|
||||||
blklen=1024;
|
blklen=1024;
|
||||||
Crcflg = TRUE;
|
Crcflg = TRUE;
|
||||||
|
Reference in New Issue
Block a user