#error "GRID_MAX_POINTS_[XY] must be a whole number between 3 and 15."
#error "GRID_MAX_POINTS_[XY] must be a whole number between 3 and 15."
#elif DISABLED(RESTORE_LEVELING_AFTER_G28)
#error "AUTO_BED_LEVELING_UBL (<=1.1.8) always has RESTORE_LEVELING_AFTER_G28 enabled. To keep this behavior, #define RESTORE_LEVELING_AFTER_G28. To keep it disabled comment out this line in SanityCheck.h."
#else
#else
static_assert(WITHIN(UBL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_1_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_1_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_1_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_2_X can't be reached by the Z probe.");
static_assert(WITHIN(UBL_PROBE_PT_2_X,MIN_PROBE_X,MAX_PROBE_X),"UBL_PROBE_PT_2_X can't be reached by the Z probe.");