mirror of
https://github.com/Noltari/pico-uart-bridge.git
synced 2024-12-26 17:26:07 +00:00
Code cleanup
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
71fd38df8a
commit
8db03b41ac
|
@ -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