feature(uart_driver_install): To fit some modules, add invalid parameters in uart_driver_install

This commit is contained in:
Chen Zheng Wei
2019-09-04 14:47:11 +08:00
parent 6ada81237e
commit 47a13e19cc
7 changed files with 9 additions and 8 deletions

View File

@ -56,7 +56,7 @@ static void initialize_console()
/* Install UART driver for interrupt-driven reads and writes */
ESP_ERROR_CHECK( uart_driver_install(CONFIG_CONSOLE_UART_NUM,
256, 0, 0, NULL) );
256, 0, 0, NULL, 0) );
/* Tell VFS to use UART driver */
esp_vfs_dev_uart_use_driver(CONFIG_CONSOLE_UART_NUM);