Skip to content
Snippets Groups Projects
Commit 9d9030a3 authored by Ryan's avatar Ryan Committed by Scott Lahteine
Browse files

Fix Archim1 SD card (#14184)

parent 123e58d9
Branches
Tags
No related merge requests found
......@@ -26,19 +26,22 @@
*
* Available chip select pins for HW SPI are 4 10 52 77
*/
#if (SDSS == 4) || (SDSS == 10) || (SDSS == 52) || (SDSS == 77)
#if (SDSS == 4)
#if SDSS == 4 || SDSS == 10 || SDSS == 52 || SDSS == 77 || SDSS == 87
#if SDSS == 4
#define SPI_PIN 87
#define SPI_CHAN 1
#elif (SDSS == 10)
#elif SDSS == 10
#define SPI_PIN 77
#define SPI_CHAN 0
#elif (SDSS == 52)
#elif SDSS == 52
#define SPI_PIN 86
#define SPI_CHAN 2
#else
#elif SDSS == 77
#define SPI_PIN 77
#define SPI_CHAN 0
#else
#define SPI_PIN 87
#define SPI_CHAN 1
#endif
#define SCK_PIN 76
#define MISO_PIN 74
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment