Skip to content

Commit ab7137a

Browse files
committed
🩹 RP2040 has PIN_SPI_SS
Followup to #27650
1 parent 8411336 commit ab7137a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Marlin/src/HAL/RP2040/spi_pins.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
/**
2525
* Define SPI Pins: SCK, MISO, MOSI, SS
2626
*/
27-
#define PIN_SPI_SS 2
28-
2927
#ifndef SD_SCK_PIN
3028
#define SD_SCK_PIN PIN_SPI_SCK
3129
#endif
@@ -35,3 +33,6 @@
3533
#ifndef SD_MOSI_PIN
3634
#define SD_MOSI_PIN PIN_SPI_MOSI
3735
#endif
36+
#ifndef SD_SS_PIN
37+
#define SD_SS_PIN PIN_SPI_SS
38+
#endif

0 commit comments

Comments
 (0)