Fix TMC EEPROM regression (#14008)

Partially undo 15357af to ensure TMC code is initialized in the proper order.
This commit is contained in:
Marcio Teixeira 2019-05-16 19:38:03 -06:00 committed by Scott Lahteine
parent 9558962d59
commit 7ccbcf2eaa
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -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() {