@ -1445,7 +1445,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
# error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS."
# error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS."
# elif !WITHIN(GRID_MAX_POINTS_X, 3, 15) || !WITHIN(GRID_MAX_POINTS_Y, 3, 15)
# elif !WITHIN(GRID_MAX_POINTS_X, 3, 15) || !WITHIN(GRID_MAX_POINTS_Y, 3, 15)
# 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 !defined(RESTORE_LEVELING_AFTER_G28)
# elif !defined(RESTORE_LEVELING_AFTER_G28) && !defined(ENABLE_LEVELING_AFTER_G28)
# error "AUTO_BED_LEVELING_UBL used to enable RESTORE_LEVELING_AFTER_G28. To keep this behavior enable RESTORE_LEVELING_AFTER_G28. Otherwise define it as 'false'."
# error "AUTO_BED_LEVELING_UBL used to enable RESTORE_LEVELING_AFTER_G28. To keep this behavior enable RESTORE_LEVELING_AFTER_G28. Otherwise define it as 'false'."
# endif
# endif
@ -1473,6 +1473,10 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
# endif
# endif
# if ALL(HAS_LEVELING, RESTORE_LEVELING_AFTER_G28, ENABLE_LEVELING_AFTER_G28)
# error "Only enable RESTORE_LEVELING_AFTER_G28 or ENABLE_LEVELING_AFTER_G28, but not both."
# endif
# if HAS_MESH && HAS_CLASSIC_JERK
# if HAS_MESH && HAS_CLASSIC_JERK
static_assert ( DEFAULT_ZJERK > 0.1 , " Low DEFAULT_ZJERK values are incompatible with mesh-based leveling. " ) ;
static_assert ( DEFAULT_ZJERK > 0.1 , " Low DEFAULT_ZJERK values are incompatible with mesh-based leveling. " ) ;
# endif
# endif