From 12ed681458b57c83a3ddd04b658626e30ee492c2 Mon Sep 17 00:00:00 2001 From: Chip Weinberger Date: Tue, 18 Oct 2022 14:33:54 -0700 Subject: [PATCH] [Console Repl] USB Serial/JTAG default to non-blocking for TX --- components/console/esp_console_repl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/console/esp_console_repl.c b/components/console/esp_console_repl.c index 4147f1e54a65..ea1c1aa075b9 100644 --- a/components/console/esp_console_repl.c +++ b/components/console/esp_console_repl.c @@ -164,8 +164,8 @@ esp_err_t esp_console_new_repl_usb_serial_jtag(const esp_console_dev_usb_serial_ goto _exit; } - /* Tell vfs to use usb-serial-jtag driver */ - esp_vfs_usb_serial_jtag_use_driver(); + /* Tell vfs to use usb-serial-jtag driver for reads*/ + esp_vfs_usb_serial_jtag_use_driver_for_rx(); // setup history ret = esp_console_setup_history(repl_config->history_save_path, repl_config->max_history_len, &usb_serial_jtag_repl->repl_com);