From 18e69cab016046300c71ac4125bac6acec4f1986 Mon Sep 17 00:00:00 2001 From: diplfranzhoepfinger Date: Sun, 18 Aug 2024 20:19:49 +0200 Subject: [PATCH] Update uart_select_example_main.c --- .../uart/uart_select/main/uart_select_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/peripherals/uart/uart_select/main/uart_select_example_main.c b/examples/peripherals/uart/uart_select/main/uart_select_example_main.c index 7364290a3c..925189e257 100644 --- a/examples/peripherals/uart/uart_select/main/uart_select_example_main.c +++ b/examples/peripherals/uart/uart_select/main/uart_select_example_main.c @@ -47,7 +47,7 @@ static void uart_select_task(void *arg) } // We have a driver now installed so set up the read/write functions to use driver also. - uart_vfs_dev_use_driver(0); + uart_vfs_dev_use_driver(UART_NUM_0); while (1) { int s;