From c975bb8a122b3926f5c69a8917f323cca15f51f1 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 11 Nov 2020 15:59:07 -0600 Subject: [PATCH] Update MarlinCore.cpp --- Marlin/src/MarlinCore.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Marlin/src/MarlinCore.cpp b/Marlin/src/MarlinCore.cpp index b3c5892db2..f38ba35dd5 100644 --- a/Marlin/src/MarlinCore.cpp +++ b/Marlin/src/MarlinCore.cpp @@ -991,15 +991,12 @@ void setup() { SETUP_RUN(HAL_init()); - // Early-disable MAX6675, as it can flood on SPI bus and prevent TMC and others to init correctly - // thermalManager.init() called too late to do this + // Init and disable SPI thermocouples #if HEATER_0_USES_MAX6675 - SET_OUTPUT(MAX6675_SS_PIN); // Setup CS pin - WRITE(MAX6675_SS_PIN, HIGH); // Disable TT_MAX6675 + OUT_WRITE(MAX6675_SS_PIN, HIGH); // Disable #endif #if HEATER_1_USES_MAX6675 - SET_OUTPUT(MAX6675_SS2_PIN); // Setup CS pin - WRITE(MAX6675_SS2_PIN, HIGH); // Disable TT_MAX6675 + OUT_WRITE(MAX6675_SS2_PIN, HIGH); // Disable #endif #if HAS_L64XX