Remove unnecessary sync in line input mode

This caused a problem for some highly timing sensitive modem read-eval-print
loops because the input line and line termination characters (cr/nl) would be
shifted out on the UART with too big delay inbetween because of two
syncs.
This commit is contained in:
Martin Lund 2024-08-06 20:48:32 +02:00
parent 2f6b3796f2
commit ef12ed62df

View file

@ -2669,7 +2669,6 @@ int tty_connect(void)
// Write current line to tty device
char *rl_line = readline_get();
tty_write(device_fd, rl_line, strlen(rl_line));
tty_sync(device_fd);
}
else
{