1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-29 21:21:21 +00:00

KA10: Detect TEN11 dropped connection.

This commit is contained in:
Lars Brinkhoff
2024-02-03 10:59:27 +01:00
parent 634fff7d5f
commit bf54a01131

View File

@@ -236,6 +236,8 @@ static int transaction (unsigned char *request, unsigned char *response)
do {
tmxr_poll_rx (&ten11_desc);
stat = tmxr_get_packet_ln (&ten11_ldsc, &ten11_request, &size);
if (!ten11_ldsc.conn)
return error ("Connection lost");
} while (stat != SCPE_OK || size == 0);
if (size > 7)