Fix TMC EEPROM regression (#14008)

Partially undo 15357af to ensure TMC code is initialized in the proper order.
2.0.x
Marcio Teixeira 6 years ago committed by Scott Lahteine
parent 9558962d59
commit 7ccbcf2eaa

@ -1053,6 +1053,10 @@ void setup() {
fanmux_init(); fanmux_init();
#endif #endif
#if HAS_TRINAMIC && HAS_LCD_MENU
init_tmc_section();
#endif
#if ENABLED(MIXING_EXTRUDER) #if ENABLED(MIXING_EXTRUDER)
mixer.init(); mixer.init();
#endif #endif

@ -293,10 +293,6 @@ void MarlinUI::init() {
#if HAS_ENCODER_ACTION #if HAS_ENCODER_ACTION
encoderDiff = 0; encoderDiff = 0;
#endif #endif
#if HAS_TRINAMIC && HAS_LCD_MENU
init_tmc_section();
#endif
} }
bool MarlinUI::get_blink() { bool MarlinUI::get_blink() {

Loading…
Cancel
Save