Merge pull request #5033 from esenapaj/Fix-freezing-with-MAX31855
Fix freezing and MINTEMP Error with MAX31855 thermocouple
This commit is contained in:
commit
6ae5cf17a9
@ -9737,9 +9737,11 @@ void setup() {
|
|||||||
safe_delay(BOOTSCREEN_TIMEOUT);
|
safe_delay(BOOTSCREEN_TIMEOUT);
|
||||||
#elif ENABLED(ULTRA_LCD)
|
#elif ENABLED(ULTRA_LCD)
|
||||||
bootscreen();
|
bootscreen();
|
||||||
|
#if DISABLED(SDSUPPORT)
|
||||||
lcd_init();
|
lcd_init();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
|
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
|
||||||
// Initialize mixing to 100% color 1
|
// Initialize mixing to 100% color 1
|
||||||
|
@ -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,1);
|
WRITE(MISO_PIN, HIGH);
|
||||||
#else
|
|
||||||
OUT_WRITE(SS_PIN, HIGH);
|
OUT_WRITE(SS_PIN, HIGH);
|
||||||
#endif
|
|
||||||
|
|
||||||
OUT_WRITE(MAX6675_SS, HIGH);
|
OUT_WRITE(MAX6675_SS, HIGH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user