Skip to content

Commit

Permalink
Badger 2040W: Update config to use mp_hal_is_pin_reserved.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jan 15, 2025
1 parent ad263ee commit abdc68c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firmware/PIMORONI_BADGER2040W/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@

#define MICROPY_HW_PIN_EXT_COUNT CYW43_WL_GPIO_COUNT

#define MICROPY_HW_PIN_RESERVED(i) ((i) == CYW43_PIN_WL_HOST_WAKE || (i) == CYW43_PIN_WL_REG_ON)
int mp_hal_is_pin_reserved(int n);
#define MICROPY_HW_PIN_RESERVED(i) mp_hal_is_pin_reserved(i)

0 comments on commit abdc68c

Please sign in to comment.