Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
  • Loading branch information
Noltari committed Nov 4, 2022
1 parent 71fd38d commit 8db03b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion uart-bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8db03b4

Please sign in to comment.