Browse Source

Fix missing include & condition (#14682)

InsanityAutomation 6 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
         UNUSED(mm);
676
         UNUSED(mm);
677
       #endif
677
       #endif
678
 
678
 
679
-      #if EXTRUDERS > 1
679
+      #if EXTRUDERS > 1 && HAS_HOTEND_OFFSET
680
         /**
680
         /**
681
          * When linked_nozzles is false, as an axis is babystepped
681
          * When linked_nozzles is false, as an axis is babystepped
682
          * adjust the hotend offsets so that the other nozzles are
682
          * adjust the hotend offsets so that the other nozzles are

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

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

Loading…
Cancel
Save