Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Dec 2, 2024
1 parent 145986d commit 70fc8b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR "Release")
endif()
else()
if(CMAKE_SYSTEM_NAME MATCHES "PICO")
add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g -O0)
add_compile_options(-c -Wall -Wextra -Wno-unused -Wno-strict-prototypes -pipe -g -O0)
elseif(UNIX)
add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g -O0)
add_compile_options(-c -Wall -Wextra -Werror -Wshadow -Wunused -Wstrict-prototypes -pipe -g -O0)
# C99 pedantic doesn't like struct anonymous in unix header
if (NOT CMAKE_C_STANDARD STREQUAL "99")
add_compile_options(-Wpedantic)
Expand Down
2 changes: 0 additions & 2 deletions examples/rpi_pico_w/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ void main_task(__unused void *params) {
printf("Connected.\n");
}


app_main();

printf("Terminate.\n");


cyw43_arch_deinit();

while (true) {
Expand Down

0 comments on commit 70fc8b2

Please sign in to comment.