Fix TMC EEPROM regression (#14008)
Partially undo 15357af
to ensure TMC code is initialized in the proper order.
This commit is contained in:
parent
9558962d59
commit
7ccbcf2eaa
2 changed files with 4 additions and 4 deletions
|
@ -1053,6 +1053,10 @@ void setup() {
|
|||
fanmux_init();
|
||||
#endif
|
||||
|
||||
#if HAS_TRINAMIC && HAS_LCD_MENU
|
||||
init_tmc_section();
|
||||
#endif
|
||||
|
||||
#if ENABLED(MIXING_EXTRUDER)
|
||||
mixer.init();
|
||||
#endif
|
||||
|
|
|
@ -293,10 +293,6 @@ void MarlinUI::init() {
|
|||
#if HAS_ENCODER_ACTION
|
||||
encoderDiff = 0;
|
||||
#endif
|
||||
|
||||
#if HAS_TRINAMIC && HAS_LCD_MENU
|
||||
init_tmc_section();
|
||||
#endif
|
||||
}
|
||||
|
||||
bool MarlinUI::get_blink() {
|
||||
|
|
Reference in a new issue