MISO is an input
This commit is contained in:
parent
67c4acf750
commit
aa9b52b2e7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue