Prefix SD SPI pins (SCK, MISO, MOSI, SS) (#20606)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
		@@ -100,8 +100,8 @@
 | 
			
		||||
//
 | 
			
		||||
// MicroSD card on SPI
 | 
			
		||||
//
 | 
			
		||||
#define MOSI_PIN                              23
 | 
			
		||||
#define MISO_PIN                              19
 | 
			
		||||
#define SCK_PIN                               18
 | 
			
		||||
#define SD_MOSI_PIN                           23
 | 
			
		||||
#define SD_MISO_PIN                           19
 | 
			
		||||
#define SD_SCK_PIN                            18
 | 
			
		||||
#define SDSS                                   5
 | 
			
		||||
#define USES_SHARED_SPI                           // SPI is shared by SD card with TMC SPI drivers
 | 
			
		||||
 
 | 
			
		||||
@@ -104,9 +104,9 @@
 | 
			
		||||
//
 | 
			
		||||
// MicroSD card
 | 
			
		||||
//
 | 
			
		||||
#define MOSI_PIN                              23
 | 
			
		||||
#define MISO_PIN                              19
 | 
			
		||||
#define SCK_PIN                               18
 | 
			
		||||
#define SD_MOSI_PIN                           23
 | 
			
		||||
#define SD_MISO_PIN                           19
 | 
			
		||||
#define SD_SCK_PIN                            18
 | 
			
		||||
#define SDSS                                   5
 | 
			
		||||
#define USES_SHARED_SPI                           // SPI is shared by SD card with TMC SPI drivers
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -93,9 +93,9 @@
 | 
			
		||||
//
 | 
			
		||||
// MicroSD card
 | 
			
		||||
//
 | 
			
		||||
#define MOSI_PIN                              23
 | 
			
		||||
#define MISO_PIN                              19
 | 
			
		||||
#define SCK_PIN                               18
 | 
			
		||||
#define SD_MOSI_PIN                           23
 | 
			
		||||
#define SD_MISO_PIN                           19
 | 
			
		||||
#define SD_SCK_PIN                            18
 | 
			
		||||
#define SDSS                                   5
 | 
			
		||||
#define USES_SHARED_SPI                           // SPI is shared by SD card with TMC SPI drivers
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -112,9 +112,9 @@
 | 
			
		||||
//
 | 
			
		||||
// MicroSD card
 | 
			
		||||
//
 | 
			
		||||
#define MOSI_PIN                              23
 | 
			
		||||
#define MISO_PIN                              19
 | 
			
		||||
#define SCK_PIN                               18
 | 
			
		||||
#define SD_MOSI_PIN                           23
 | 
			
		||||
#define SD_MISO_PIN                           19
 | 
			
		||||
#define SD_SCK_PIN                            18
 | 
			
		||||
#define SDSS                                   5
 | 
			
		||||
#define USES_SHARED_SPI                           // SPI is shared by SD card with TMC SPI drivers
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user