🔧 Forbid UBL Hilbert Curve on DELTA (#26296)

This commit is contained in:
Bob Kuhn
2023-10-06 23:45:32 -05:00
committed by GitHub
parent f3851408fe
commit b799f7d1f3

View File

@@ -1517,6 +1517,8 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
#error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS." #error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS."
#elif !WITHIN(GRID_MAX_POINTS_X, 3, 255) || !WITHIN(GRID_MAX_POINTS_Y, 3, 255) #elif !WITHIN(GRID_MAX_POINTS_X, 3, 255) || !WITHIN(GRID_MAX_POINTS_Y, 3, 255)
#error "GRID_MAX_POINTS_[XY] must be between 3 and 255." #error "GRID_MAX_POINTS_[XY] must be between 3 and 255."
#elif ALL(UBL_HILBERT_CURVE, DELTA)
#error "UBL_HILBERT_CURVE can only be used with a square / rectangular printable area."
#endif #endif
#elif ENABLED(MESH_BED_LEVELING) #elif ENABLED(MESH_BED_LEVELING)
#if ENABLED(DELTA) #if ENABLED(DELTA)