Skip to content

Commit

Permalink
[Console Repl] USB Serial/JTAG default to non-blocking for TX
Browse files Browse the repository at this point in the history
  • Loading branch information
chipweinberger committed Oct 18, 2022
1 parent d0e12a6 commit 5885b24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/console/esp_console_repl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5885b24

Please sign in to comment.