From 1823a6ea2977227a8c58dc124741fe14bb84de2e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 1 May 2017 11:05:35 -0500 Subject: [PATCH] Patch for missing DELTA_HEIGHT --- Marlin/Conditionals_post.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Marlin/Conditionals_post.h b/Marlin/Conditionals_post.h index fae3d1b7f..f30e8e8c3 100644 --- a/Marlin/Conditionals_post.h +++ b/Marlin/Conditionals_post.h @@ -119,6 +119,13 @@ #define Z_HOME_POS (Z_HOME_DIR < 0 ? Z_MIN_POS : Z_MAX_POS) #endif + /** + * If DELTA_HEIGHT isn't defined use the old setting + */ + #if ENABLED(DELTA) && !defined(DELTA_HEIGHT) + #define DELTA_HEIGHT Z_HOME_POS + #endif + /** * Auto Bed Leveling and Z Probe Repeatability Test */