Merge pull request #8820 from thinkyhead/bf2_mks_sbase_spi

[2.0.x] Fix SDSUPPORT for MKS SBASE
This commit is contained in:
Scott Lahteine 2017-12-17 21:15:49 -06:00 committed by GitHub
commit a891d8d738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.5)
#define SS_PIN P0_28
#define SD_DETECT_PIN P0_27
#else
@ -63,9 +64,11 @@
#ifndef SS_PIN
#define SS_PIN P1_23
#endif
#endif // MKS_SBASE
#ifndef SDSS
#define SDSS SS_PIN
#endif
#endif // MKS_SBASE
#endif /* SPI_PINS_LPC1768_H */
#endif // SPI_PINS_LPC1768_H