TMXR: Added delay to assure that simulator internally generated messages get fully transmitted on TMXR lines.
This commit is contained in:
parent
fa407e678b
commit
047a6b856f
1 changed files with 6 additions and 4 deletions
10
sim_tmxr.c
10
sim_tmxr.c
|
@ -3840,10 +3840,12 @@ return;
|
|||
|
||||
void tmxr_linemsg (TMLN *lp, const char *msg)
|
||||
{
|
||||
int32 len;
|
||||
|
||||
for (len = (int32)strlen (msg); len > 0; --len)
|
||||
tmxr_putc_ln (lp, *msg++);
|
||||
while (*msg) {
|
||||
while (SCPE_STALL == tmxr_putc_ln (lp, (int32)(*msg)))
|
||||
if (lp->txbsz == tmxr_send_buffered_data (lp))
|
||||
sim_os_ms_sleep (10);
|
||||
++msg;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue