From 782d85b671bdfa019859e31182ee58a26d431dc5 Mon Sep 17 00:00:00 2001 From: Bob Kuhn Date: Fri, 6 Oct 2023 23:45:32 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Forbid=20UBL=20Hilbert=20Curve?= =?UTF-8?q?=20on=20DELTA=20(#26296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/inc/SanityCheck.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 8afd1ae2e251..67862cf93192 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -1517,6 +1517,8 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L #error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS." #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." + #elif ALL(UBL_HILBERT_CURVE, DELTA) + #error "UBL_HILBERT_CURVE can only be used with a square / rectangular printable area." #endif #elif ENABLED(MESH_BED_LEVELING) #if ENABLED(DELTA)