Skip to content
Snippets Groups Projects
Commit 7cef33d8 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Drain modem buffer before sending commands.

parent e3defcad
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ Support copy/paste in BBS list
Show current list path, not default in File Locations
Explicitly set serial port to 8N1
Add support bit data bits, stop bits, and parity
Drain modem buffer before sending init command
Version 1.2rc6
--------------
......
......@@ -255,6 +255,10 @@ modem_connect(struct bbslist *bbs)
while (kbhit())
getch();
/* Drain modem output buffer */
while (comReadByte(com, respbuf))
;
if (!bbs->hidepopups)
uifc.pop("Initializing...");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment