Update BTT002 platform (fixing SD init) (#16217)
This commit is contained in:
1 parent
a0badf572e
commit
42a336f8bc
10 files changed
+1229
-44
No files matched your search
@@ -83,6 +83,13 @@ void spiInit(uint8_t spiRate) {
|
||||
}
|
||||
spiConfig = SPISettings(clock, MSBFIRST, SPI_MODE0);
|
||||
|
||||
#if ENABLED(CUSTOM_SPI_PINS)
|
||||
SPI.setMISO(MISO_PIN);
|
||||
SPI.setMOSI(MOSI_PIN);
|
||||
SPI.setSCLK(SCK_PIN);
|
||||
SPI.setSSEL(SS_PIN);
|
||||
#endif
|
||||
|
||||
SPI.begin();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user