FRONTPANEL: Minimuze the latency for register content queries by coalescing all response data into a single response packet.

This commit is contained in:
Mark Pizzolato 2015-02-20 16:20:18 -08:00
parent 02295fa215
commit f5cd5439f5

View file

@ -639,6 +639,7 @@ if (sim_log) {
cbuf[sizeof(cbuf)-1] = '\0';
while (fgets (cbuf, sizeof(cbuf)-1, sim_log))
tmxr_linemsgf (lp, "%s", cbuf);
if (!tmxr_input_pending_ln (lp)) {
do {
unwritten = tmxr_send_buffered_data (lp);
if (unwritten == lp->txbsz)
@ -646,6 +647,7 @@ if (sim_log) {
} while (unwritten == lp->txbsz);
}
}
}
void sim_remote_process_command (void)
{