Skip to content

Commit

Permalink
Add default config of CYW43_WL_GPIO_COUNT to cyw43_configport.h
Browse files Browse the repository at this point in the history
  • Loading branch information
peterharperuk committed Aug 23, 2024
1 parent fa774d1 commit 66bcde5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rp2_common/pico_cyw43_driver/include/cyw43_configport.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ extern "C" {
#define CYW43_EINVAL (-PICO_ERROR_INVALID_ARG) // Invalid argument
#define CYW43_ETIMEDOUT (-PICO_ERROR_TIMEOUT) // Connection timed out

#ifndef CYW43_WL_GPIO_COUNT
#define CYW43_WL_GPIO_COUNT 3
#endif

#define CYW43_NUM_GPIOS CYW43_WL_GPIO_COUNT

#define cyw43_hal_pin_obj_t uint
Expand Down

0 comments on commit 66bcde5

Please sign in to comment.