Alert users about low Z jerk values

This commit is contained in:
Scott Lahteine
2018-03-28 23:08:33 -05:00
parent 9e4c037cef
commit 1be955e52a
2 changed files with 10 additions and 2 deletions

View File

@ -879,7 +879,9 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
#endif
#if !HAS_MESH && ENABLED(G26_MESH_VALIDATION)
#if HAS_MESH
static_assert(DEFAULT_ZJERK > 0.1, "Low DEFAULT_ZJERK values are incompatible with mesh-based leveling.");
#elif ENABLED(G26_MESH_VALIDATION)
#error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL."
#endif