1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

TMXR: Reworked output to physical serial ports to avoid host OS buffering

This commit is contained in:
Mark Pizzolato
2016-07-15 03:55:21 -07:00
parent c3496e4aa6
commit a9e17075ce
3 changed files with 15 additions and 4 deletions

View File

@@ -1740,7 +1740,7 @@ t_stat sim_set_noserial (int32 flag, CONST char *cptr)
{
if (cptr && (*cptr != 0)) /* too many arguments? */
return SCPE_2MARG;
if (sim_con_ldsc.serport == 0) /* ignore if already closed */
if (sim_con_ldsc.serport == 0) /* ignore if already closed */
return SCPE_OK;
return tmxr_close_master (&sim_con_tmxr); /* close master socket */
}