Commit 27c09dc493346d51a0caea059eba00d140a8061b

Authored by xiemeng
1 parent 86ae3423

启动时检查所有COM口

Showing 1 changed file with 2 additions and 0 deletions
@@ -160,6 +160,8 @@ BOOL InitializeApp(HINSTANCE hInst, int nShowCmd) @@ -160,6 +160,8 @@ BOOL InitializeApp(HINSTANCE hInst, int nShowCmd)
160 return FALSE; 160 return FALSE;
161 } 161 }
162 162
  163 + QuerySerialPortStatusEx(TTYInfo.unOpenedPortAry,2,255);
  164 +
163 // 165 //
164 // setup program's tty child window class 166 // setup program's tty child window class
165 // 167 //
Please register or login to post a comment