Browse Source

Allow define HOMING_FEEDRATE_(XY|Z)

Scott Lahteine 4 years ago
parent
commit
84a1fff302
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h View File

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

Loading…
Cancel
Save