Skip to content

Commit 0ec323a

Browse files
authored
Merge pull request #11019 from dhalbert/fix-PICO_RP2040-check
ports/raspberrypi/supervisor/port.c: #if PICO_RP2040, not #if defined(PICO_RP240)
2 parents 3ac61ee + fb82da6 commit 0ec323a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ports/raspberrypi/supervisor

ports/raspberrypi/supervisor/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ bool __no_inline_not_in_flash_func(port_boot_button_pressed)(void) {
624624
// pressed, return is delayed until the button is released and
625625
// a delay has passed in order to debounce the button.
626626
const uint32_t CS_PIN_INDEX = 1;
627-
#if defined(PICO_RP2040)
627+
#if PICO_RP2040
628628
const uint32_t CS_BIT = 1u << 1;
629629
#else
630630
const uint32_t CS_BIT = SIO_GPIO_HI_IN_QSPI_CSN_BITS;

0 commit comments

Comments
 (0)