Skip to content

Commit c7d0d55

Browse files
committed
fix CYW43 vs AIRFLIT
1 parent a769568 commit c7d0d55

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/raspberrypi/mpconfigport.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ CIRCUITPY_SYNTHIO_MAX_CHANNELS = 24
2525
CIRCUITPY_USB_HOST ?= 1
2626
CIRCUITPY_USB_VIDEO ?= 1
2727

28-
ifeq ($(CIRCUITPY_CYW43),0)
29-
CIRCUITPY_WIFI_AIRLIFT ?= 1
30-
endif
28+
# Turn on AirLift support if there is no CYW43 support.
29+
CIRCUITPY_WIFI_AIRLIFT ?= $(if $(filter $(CIRCUITPY_CYW43),0),1,0)
3130

3231
# Things that need to be implemented.
3332
CIRCUITPY_FREQUENCYIO = 0

0 commit comments

Comments
 (0)