Skip to content

Commit c266993

Browse files
eightycctannewt
andauthored
Set CIRCUITPY_BOOT_BUTTON_NO_GPIO only when CIRCUITPY_BOOT_BUTTON not defined.
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 4d81b53 commit c266993

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/raspberrypi/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
#define CIRCUITPY_PROCESSOR_COUNT (2)
3535

3636
// For many RP2 boards BOOTSEL is not connected to a GPIO pin.
37+
#ifndef CIRCUITPY_BOOT_BUTTON
3738
#define CIRCUITPY_BOOT_BUTTON_NO_GPIO (1)
39+
#endif
3840

3941
#if CIRCUITPY_USB_HOST
4042
#define CIRCUITPY_USB_HOST_INSTANCE 1

0 commit comments

Comments
 (0)