Quellcode durchsuchen

Allow define HOMING_FEEDRATE_(XY|Z)

Scott Lahteine vor 4 Jahren
Ursprung
Commit
84a1fff302
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h Datei anzeigen

@@ -190,7 +190,7 @@
190 190
   #error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
191 191
 #elif defined(HOMING_FEEDRATE)
192 192
   #error "HOMING_FEEDRATE is now set using the HOMING_FEEDRATE_MM_M array instead."
193
-#elif defined(HOMING_FEEDRATE_XY) || defined(HOMING_FEEDRATE_Z)
193
+#elif (defined(HOMING_FEEDRATE_XY) || defined(HOMING_FEEDRATE_Z)) && !defined(HOMING_FEEDRATE_MM_M)
194 194
   #error "HOMING_FEEDRATE_XY and HOMING_FEEDRATE_Z are now set using the HOMING_FEEDRATE_MM_M array instead."
195 195
 #elif defined(MANUAL_HOME_POSITIONS)
196 196
   #error "MANUAL_HOME_POSITIONS is deprecated. Set MANUAL_[XYZ]_HOME_POS as-needed instead."

Laden…
Abbrechen
Speichern