Browse Source

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

MISO is an input
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
46c8862635
  1. 3
      Marlin/temperature.cpp

3
Marlin/temperature.cpp

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

Loading…
Cancel
Save