Procházet zdrojové kódy

Fix TOOLCHANGE_ZRAISE warning (#14156)

Minims před 5 roky
rodič
revize
32afe1d102

+ 1
- 1
Marlin/src/gcode/control/M605.cpp Zobrazit soubor

@@ -132,7 +132,7 @@
132 132
         DEBUG_ECHOPAIR("\nX2 Home X: ", x_home_pos(1), "\nX2_MIN_POS=", int(X2_MIN_POS), "\nX2_MAX_POS=", int(X2_MAX_POS));
133 133
         DEBUG_ECHOPAIR("\nX2_HOME_DIR=", int(X2_HOME_DIR), "\nX2_HOME_POS=", int(X2_HOME_POS));
134 134
         DEBUG_ECHOPAIR("\nDEFAULT_DUAL_X_CARRIAGE_MODE=", STRINGIFY(DEFAULT_DUAL_X_CARRIAGE_MODE));
135
-        DEBUG_ECHOPAIR("\nTOOLCHANGE_ZRAISE=", float(TOOLCHANGE_ZRAISE));
135
+        DEBUG_ECHOPAIR("\toolchange_settings.z_raise=", toolchange_settings.z_raise);
136 136
         DEBUG_ECHOPAIR("\nDEFAULT_DUPLICATION_X_OFFSET=", int(DEFAULT_DUPLICATION_X_OFFSET));
137 137
         DEBUG_EOL();
138 138
 

+ 0
- 3
Marlin/src/inc/Conditionals_LCD.h Zobrazit soubor

@@ -405,9 +405,6 @@
405 405
   #define E_MANUAL        EXTRUDERS
406 406
 #elif ENABLED(PRUSA_MMU2)
407 407
   #define E_STEPPERS 1
408
-  #ifndef TOOLCHANGE_ZRAISE
409
-    #define TOOLCHANGE_ZRAISE 0
410
-  #endif
411 408
 #endif
412 409
 
413 410
 // No inactive extruders with MK2_MULTIPLEXER or SWITCHING_NOZZLE

+ 1
- 1
Marlin/src/inc/SanityCheck.h Zobrazit soubor

@@ -694,7 +694,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
694 694
   #endif
695 695
 
696 696
   #ifndef TOOLCHANGE_ZRAISE
697
-    #error "TOOLCHANGE_ZRAISE required for EXTRUDERS > 1. Please update your Configuration."
697
+    #error "TOOLCHANGE_ZRAISE required for EXTRUDERS > 1. Please update your Configuration_adv.h."
698 698
   #endif
699 699
 
700 700
 #elif ENABLED(MK2_MULTIPLEXER)

Loading…
Zrušit
Uložit