Code cleanup

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2022-11-04 10:58:51 +01:00
parent 71fd38df8a
commit 8db03b41ac
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;