Code cleanup
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
71fd38df8a
commit
8db03b41ac
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ include(pico-sdk/pico_sdk_init.cmake)
|
|||
project(pico_uart_bridge)
|
||||
|
||||
pico_sdk_init()
|
||||
|
||||
|
||||
add_executable(uart_bridge uart-bridge.c usb-descriptors.c)
|
||||
|
||||
target_include_directories(uart_bridge PUBLIC
|
||||
|
|
|
@ -181,7 +181,7 @@ void core1_entry(void)
|
|||
int con = 0;
|
||||
|
||||
tud_task();
|
||||
|
||||
|
||||
for (itf = 0; itf < CFG_TUD_CDC; itf++) {
|
||||
if (tud_cdc_n_connected(itf)) {
|
||||
con = 1;
|
||||
|
|
Loading…
Reference in a new issue