浏览代码

🔧 Check G29_RETRY_AND_RECOVER requirements (#21921)

ellensp 4 年前
父节点
当前提交
493e6c2cba
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入6 次删除
  1. 2
    6
      Marlin/src/inc/SanityCheck.h

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

@@ -1631,12 +1631,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1631 1631
   #error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD."
1632 1632
 #endif
1633 1633
 
1634
-#if ENABLED(G29_RETRY_AND_RECOVER)
1635
-  #if ENABLED(AUTO_BED_LEVELING_UBL)
1636
-    #error "G29_RETRY_AND_RECOVER is not compatible with UBL."
1637
-  #elif ENABLED(MESH_BED_LEVELING)
1638
-    #error "G29_RETRY_AND_RECOVER is not compatible with MESH_BED_LEVELING."
1639
-  #endif
1634
+#if ENABLED(G29_RETRY_AND_RECOVER) && NONE(AUTO_BED_LEVELING_3POINT, AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
1635
+  #error "G29_RETRY_AND_RECOVER requires AUTO_BED_LEVELING_3POINT, LINEAR, or BILINEAR."
1640 1636
 #endif
1641 1637
 
1642 1638
 /**

正在加载...
取消
保存