Skip to content
Snippets Groups Projects
Commit f4c16e68 authored by Marcio Teixeira's avatar Marcio Teixeira Committed by Scott Lahteine
Browse files

Follow up fixes to #12884 (#12940)

parent 712e23c3
Branches
Tags
No related merge requests found
...@@ -160,7 +160,7 @@ class TMCMarlin<TMC2208Stepper, AXIS_LETTER, DRIVER_ID> : public TMC2208Stepper, ...@@ -160,7 +160,7 @@ class TMCMarlin<TMC2208Stepper, AXIS_LETTER, DRIVER_ID> : public TMC2208Stepper,
#if STEALTHCHOP_ENABLED #if STEALTHCHOP_ENABLED
inline void refresh_stepping_mode() { en_spreadCycle(!this->stored.stealthChop_enabled); } inline void refresh_stepping_mode() { en_spreadCycle(!this->stored.stealthChop_enabled); }
inline bool get_stealthChop_status() { !this->en_spreadCycle(); } inline bool get_stealthChop_status() { return !this->en_spreadCycle(); }
#endif #endif
#if HAS_LCD_MENU #if HAS_LCD_MENU
... ...
......
...@@ -71,6 +71,10 @@ ...@@ -71,6 +71,10 @@
#include "../../module/printcounter.h" #include "../../module/printcounter.h"
#endif #endif
#if HAS_TRINAMIC && HAS_LCD_MENU
#include "../../feature/tmc_util.h"
#endif
#include "ui_api.h" #include "ui_api.h"
#if ENABLED(BACKLASH_GCODE) #if ENABLED(BACKLASH_GCODE)
...@@ -699,7 +703,7 @@ void MarlinUI::init() { ...@@ -699,7 +703,7 @@ void MarlinUI::init() {
SET_INPUT_PULLUP(SD_DETECT_PIN); SET_INPUT_PULLUP(SD_DETECT_PIN);
#endif #endif
#if HAS_TRINAMIC #if HAS_TRINAMIC && HAS_LCD_MENU
init_tmc_section(); init_tmc_section();
#endif #endif
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment