File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,8 @@ function(add_subdirectory_exclude_platforms NAME)
43
43
endfunction ()
44
44
45
45
# Add blink example
46
- if (PICO_CYW43_SUPPORTED) # set by PICO_BOARD=pico_w
47
- if (NOT TARGET pico_cyw43_arch)
48
- message ("Skipping blink for Pico W as support is not available" )
49
- else ()
50
- add_subdirectory_exclude_platforms(blink)
51
- endif ()
46
+ if (PICO_CYW43_SUPPORTED AND NOT TARGET pico_cyw43_arch)
47
+ message ("Skipping blink for Pico W as support is not available" )
52
48
else ()
53
49
add_subdirectory_exclude_platforms(blink)
54
50
endif ()
Original file line number Diff line number Diff line change @@ -5,12 +5,8 @@ if (TARGET hardware_adc)
5
5
add_subdirectory_exclude_platforms(joystick_display)
6
6
add_subdirectory_exclude_platforms(onboard_temperature)
7
7
add_subdirectory_exclude_platforms(microphone_adc)
8
- if (PICO_CYW43_SUPPORTED) # set by PICO_BOARD=pico_w
9
- if (NOT TARGET pico_cyw43_arch)
10
- message ("Skipping read_vsys for Pico W as support is not available" )
11
- else ()
12
- add_subdirectory_exclude_platforms(read_vsys)
13
- endif ()
8
+ if (PICO_CYW43_SUPPORTED AND NOT TARGET pico_cyw43_arch)
9
+ message ("Skipping read_vsys for Pico W as support is not available" )
14
10
else ()
15
11
add_subdirectory_exclude_platforms(read_vsys)
16
12
endif ()
You can’t perform that action at this time.
0 commit comments