• R/O
  • SSH
  • HTTPS

ttssh2: 提交


Commit MetaInfo

修订版7755 (tree)
时间2019-06-11 19:47:54
作者(del#24082)

Log Message

SetupComm()の呼び出しを復活させて、dcb.XonLim,dcb.XoffLim を設定するようにした。

更改概述

差异

--- branches/hardware_flow_notwork/teraterm/teraterm/commlib.c (revision 7754)
+++ branches/hardware_flow_notwork/teraterm/teraterm/commlib.c (revision 7755)
@@ -168,8 +168,8 @@
168168 }
169169
170170 ClearCommError(cv->ComID,&DErr,NULL);
171- //SetupComm(cv->ComID,CommInQueSize,CommOutQueSize);
172- OutputDebugPrintf("%s: SetupComm was skipped.", __FUNCTION__);
171+ SetupComm(cv->ComID,CommInQueSize,CommOutQueSize);
172+ //OutputDebugPrintf("%s: SetupComm was skipped.", __FUNCTION__);
173173 /* flush input and output buffers */
174174 if (ClearBuff) {
175175 PurgeComm(cv->ComID, PURGE_TXABORT | PURGE_RXABORT |
@@ -228,6 +228,9 @@
228228 case IdFlowHard:
229229 dcb.fOutxCtsFlow = TRUE;
230230 dcb.fRtsControl = RTS_CONTROL_HANDSHAKE;
231+ dcb.XonLim = CommXonLim;
232+ dcb.XoffLim = CommXoffLim;
233+ OutputDebugPrintf("%s: Hardware flow %u %u", __FUNCTION__, dcb.XonLim, dcb.XoffLim);
231234 break;
232235 }
233236
Show on old repository browser