瀏覽代碼

Allow define HOMING_FEEDRATE_(XY|Z)

Scott Lahteine 4 年之前
父節點
當前提交
84a1fff302
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h 查看文件

@@ -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."

Loading…
取消
儲存