ESP32 Panda_ZHU and Panda_M4 (#22644)

This commit is contained in:
Mark
2021-10-05 12:23:02 +08:00
committed by Scott Lahteine
parent b8c32e24d8
commit 66048a5f27
21 changed files with 285 additions and 31 deletions

View File

@ -34,7 +34,9 @@
#include "../../inc/MarlinConfig.h"
void spiBegin() {
OUT_WRITE(SD_SS_PIN, HIGH);
#if PIN_EXISTS(SD_SS)
OUT_WRITE(SD_SS_PIN, HIGH);
#endif
SET_OUTPUT(SD_SCK_PIN);
SET_INPUT(SD_MISO_PIN);
SET_OUTPUT(SD_MOSI_PIN);