✨ ESP32 Panda_ZHU and Panda_M4 (#22644)

This commit is contained in:
Mark authored and Scott Lahteine committed 2021-10-12 21:20:08 -05:00
1 parent b8c32e24d8
commit 66048a5f27
21 files changed
+285 -31

No files matched your search

+2 -3
View File
@@ -36,10 +36,9 @@ static SPISettings spiConfig;
// Initialize SPI bus
void spiBegin() {
#if !PIN_EXISTS(SD_SS)
#error "SD_SS_PIN not defined!"
#if PIN_EXISTS(SD_SS)
OUT_WRITE(SD_SS_PIN, HIGH);
#endif
OUT_WRITE(SD_SS_PIN, HIGH);
SET_OUTPUT(SD_SCK_PIN);
SET_INPUT(SD_MISO_PIN);
SET_OUTPUT(SD_MOSI_PIN);