SDS: Adjust communication MUX inter-character timing

When stuffing the LOGOUT command to a pseudo-teletype, the command script processing program CCP encountered a race condition because the MUX timing was too slow.  The pseudo-teletype did not reliably log off as desired. Cutting the event wait time in half fixed the problem.
This commit is contained in:
Mark Emmer 2015-03-01 22:59:03 -06:00
parent b8629a1142
commit f56ade6168

View file

@ -50,7 +50,7 @@
#define MUX_SCANMAX (MUX_LINES * MUX_FLAGS) /* flags to scan */
#define MUX_SCANMASK (MUX_SCANMAX - 1)
#define MUX_INIT_POLL 8000
#define MUXL_WAIT 500
#define MUXL_WAIT 250
#define MUX_SETFLG(l,x) mux_flags[((l) * MUX_FLAGS) + (x)] = 1
#define MUX_SETINT(x) int_req = int_req | (INT_MUXR >> (x))
#define MUX_CLRINT(x) int_req = int_req & ~(INT_MUXR >> (x))