Follow up fixes to #12884 (#12940)

This commit is contained in:
Marcio Teixeira
2019-01-17 17:48:29 -07:00
committed by Scott Lahteine
parent 712e23c383
commit f4c16e683b
2 changed files with 6 additions and 2 deletions

View File

@ -71,6 +71,10 @@
#include "../../module/printcounter.h"
#endif
#if HAS_TRINAMIC && HAS_LCD_MENU
#include "../../feature/tmc_util.h"
#endif
#include "ui_api.h"
#if ENABLED(BACKLASH_GCODE)
@ -699,7 +703,7 @@ void MarlinUI::init() {
SET_INPUT_PULLUP(SD_DETECT_PIN);
#endif
#if HAS_TRINAMIC
#if HAS_TRINAMIC && HAS_LCD_MENU
init_tmc_section();
#endif