Merge pull request #4564 from AnHardt/max-spi-setup

MISO is an input
This commit is contained in:
Scott Lahteine 2016-08-08 21:01:15 -07:00 committed by GitHub
commit 46c8862635

View File

@ -1021,7 +1021,8 @@ void Temperature::init() {
#if DISABLED(SDSUPPORT)
OUT_WRITE(SCK_PIN, LOW);
OUT_WRITE(MOSI_PIN, HIGH);
OUT_WRITE(MISO_PIN, HIGH);
SET_INPUT(MISO_PIN);
WRITE(MISO_PIN,1);
#else
OUT_WRITE(SS_PIN, HIGH);
#endif