Update MarlinCore.cpp
This commit is contained in:
parent
2ec5ffc582
commit
c975bb8a12
1 changed files with 3 additions and 6 deletions
|
|
@ -991,15 +991,12 @@ void setup() {
|
||||||
|
|
||||||
SETUP_RUN(HAL_init());
|
SETUP_RUN(HAL_init());
|
||||||
|
|
||||||
// Early-disable MAX6675, as it can flood on SPI bus and prevent TMC and others to init correctly
|
// Init and disable SPI thermocouples
|
||||||
// thermalManager.init() called too late to do this
|
|
||||||
#if HEATER_0_USES_MAX6675
|
#if HEATER_0_USES_MAX6675
|
||||||
SET_OUTPUT(MAX6675_SS_PIN); // Setup CS pin
|
OUT_WRITE(MAX6675_SS_PIN, HIGH); // Disable
|
||||||
WRITE(MAX6675_SS_PIN, HIGH); // Disable TT_MAX6675
|
|
||||||
#endif
|
#endif
|
||||||
#if HEATER_1_USES_MAX6675
|
#if HEATER_1_USES_MAX6675
|
||||||
SET_OUTPUT(MAX6675_SS2_PIN); // Setup CS pin
|
OUT_WRITE(MAX6675_SS2_PIN, HIGH); // Disable
|
||||||
WRITE(MAX6675_SS2_PIN, HIGH); // Disable TT_MAX6675
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_L64XX
|
#if HAS_L64XX
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue