Browse Source

Fix missing include & condition (#14682)

InsanityAutomation 5 years ago
parent
commit
9cd66f6f77
2 changed files with 5 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  2. 4
    0
      Marlin/src/module/tool_change.cpp

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp View File

@@ -676,7 +676,7 @@ namespace ExtUI {
676 676
         UNUSED(mm);
677 677
       #endif
678 678
 
679
-      #if EXTRUDERS > 1
679
+      #if EXTRUDERS > 1 && HAS_HOTEND_OFFSET
680 680
         /**
681 681
          * When linked_nozzles is false, as an axis is babystepped
682 682
          * adjust the hotend offsets so that the other nozzles are

+ 4
- 0
Marlin/src/module/tool_change.cpp View File

@@ -81,6 +81,10 @@
81 81
   #include "../lcd/ultralcd.h"
82 82
 #endif
83 83
 
84
+#if ENABLED(ADVANCED_PAUSE_FEATURE)
85
+  #include "../feature/pause.h"
86
+#endif
87
+
84 88
 #if DO_SWITCH_EXTRUDER
85 89
 
86 90
   #if EXTRUDERS > 3

Loading…
Cancel
Save