From ab7137ab8e3138283abebceda8bc1c411cb0c12c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 25 Jan 2025 20:17:10 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20RP2040=20has=20PIN=5FSPI=5FSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #27650 --- Marlin/src/HAL/RP2040/spi_pins.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Marlin/src/HAL/RP2040/spi_pins.h b/Marlin/src/HAL/RP2040/spi_pins.h index 949fdff36f3a..e6ee840b5544 100644 --- a/Marlin/src/HAL/RP2040/spi_pins.h +++ b/Marlin/src/HAL/RP2040/spi_pins.h @@ -24,8 +24,6 @@ /** * Define SPI Pins: SCK, MISO, MOSI, SS */ -#define PIN_SPI_SS 2 - #ifndef SD_SCK_PIN #define SD_SCK_PIN PIN_SPI_SCK #endif @@ -35,3 +33,6 @@ #ifndef SD_MOSI_PIN #define SD_MOSI_PIN PIN_SPI_MOSI #endif +#ifndef SD_SS_PIN + #define SD_SS_PIN PIN_SPI_SS +#endif