|
|
@ -1001,14 +1001,11 @@ void Temperature::init() {
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
|
|
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
|
|
|
|
|
|
|
|
|
|
|
#if DISABLED(SDSUPPORT)
|
|
|
|
OUT_WRITE(SCK_PIN, LOW);
|
|
|
|
OUT_WRITE(SCK_PIN, LOW);
|
|
|
|
OUT_WRITE(MOSI_PIN, HIGH);
|
|
|
|
OUT_WRITE(MOSI_PIN, HIGH);
|
|
|
|
SET_INPUT(MISO_PIN);
|
|
|
|
SET_INPUT(MISO_PIN);
|
|
|
|
WRITE(MISO_PIN, HIGH);
|
|
|
|
WRITE(MISO_PIN,1);
|
|
|
|
OUT_WRITE(SS_PIN, HIGH);
|
|
|
|
#else
|
|
|
|
|
|
|
|
OUT_WRITE(SS_PIN, HIGH);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OUT_WRITE(MAX6675_SS, HIGH);
|
|
|
|
OUT_WRITE(MAX6675_SS, HIGH);
|
|
|
|
|
|
|
|
|
|
|
|