From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:18:26 +0000 Subject: [PATCH] write in 30M --- kernel/drivers/usb/serial/console.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/usb/serial/console.c b/kernel/drivers/usb/serial/console.c index 7d28930..b97aa40 100644 --- a/kernel/drivers/usb/serial/console.c +++ b/kernel/drivers/usb/serial/console.c @@ -79,7 +79,7 @@ if (*s) doflow = (*s++ == 'r'); } - + /* Sane default */ if (baud == 0) baud = 9600; @@ -102,6 +102,9 @@ break; } + if (doflow) + cflag |= CRTSCTS; + /* * no need to check the index here: if the index is wrong, console * code won't call us -- Gitblit v1.6.2