Update MarlinCore.cpp

This commit is contained in:
Scott Lahteine 2020-11-11 15:59:07 -06:00 committed by GitHub
parent 2ec5ffc582
commit c975bb8a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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