Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4962 by yutakapon, Fri Jun 8 13:20:26 2012 UTC revision 5694 by maya, Sun Nov 2 23:32:38 2014 UTC
# Line 1218  void CommSend(PComVar cv) Line 1218  void CommSend(PComVar cv)
1218          }          }
1219  }  }
1220    
1221  void CommSendBreak(PComVar cv)  void CommSendBreak(PComVar cv, int msec)
1222  /* for only serial ports */  /* for only serial ports */
1223  {  {
1224          MSG DummyMsg;          MSG DummyMsg;
# Line 1233  void CommSendBreak(PComVar cv) Line 1233  void CommSendBreak(PComVar cv)
1233                          SetCommBreak(cv->ComID);                          SetCommBreak(cv->ComID);
1234    
1235                          /* pause for 1 sec */                          /* pause for 1 sec */
1236                          if (SetTimer(cv->HWin, IdBreakTimer, 1000, NULL) != 0) {                          if (SetTimer(cv->HWin, IdBreakTimer, msec, NULL) != 0) {
1237                                  GetMessage(&DummyMsg,cv->HWin,WM_TIMER,WM_TIMER);                                  GetMessage(&DummyMsg,cv->HWin,WM_TIMER,WM_TIMER);
1238                          }                          }
1239    

Legend:
Removed from v.4962  
changed lines
  Added in v.5694

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26