|
@@ -1001,14 +1001,11 @@ void Temperature::init() {
|
1001
|
1001
|
|
1002
|
1002
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
1003
|
1003
|
|
1004
|
|
- #if DISABLED(SDSUPPORT)
|
1005
|
|
- OUT_WRITE(SCK_PIN, LOW);
|
1006
|
|
- OUT_WRITE(MOSI_PIN, HIGH);
|
1007
|
|
- SET_INPUT(MISO_PIN);
|
1008
|
|
- WRITE(MISO_PIN,1);
|
1009
|
|
- #else
|
1010
|
|
- OUT_WRITE(SS_PIN, HIGH);
|
1011
|
|
- #endif
|
|
1004
|
+ OUT_WRITE(SCK_PIN, LOW);
|
|
1005
|
+ OUT_WRITE(MOSI_PIN, HIGH);
|
|
1006
|
+ SET_INPUT(MISO_PIN);
|
|
1007
|
+ WRITE(MISO_PIN, HIGH);
|
|
1008
|
+ OUT_WRITE(SS_PIN, HIGH);
|
1012
|
1009
|
|
1013
|
1010
|
OUT_WRITE(MAX6675_SS, HIGH);
|
1014
|
1011
|
|