Skip to content

Commit 66bcde5

Browse files
committed
Add default config of CYW43_WL_GPIO_COUNT to cyw43_configport.h
1 parent fa774d1 commit 66bcde5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rp2_common/pico_cyw43_driver/include/cyw43_configport.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ extern "C" {
8080
#define CYW43_EINVAL (-PICO_ERROR_INVALID_ARG) // Invalid argument
8181
#define CYW43_ETIMEDOUT (-PICO_ERROR_TIMEOUT) // Connection timed out
8282

83+
#ifndef CYW43_WL_GPIO_COUNT
84+
#define CYW43_WL_GPIO_COUNT 3
85+
#endif
86+
8387
#define CYW43_NUM_GPIOS CYW43_WL_GPIO_COUNT
8488

8589
#define cyw43_hal_pin_obj_t uint

0 commit comments

Comments
 (0)