Fixes G29_with_retry behavior (#11045)

* Fix G29 (ABL) retry behavior
This commit is contained in:
Colin Gilgenbach
2018-06-29 19:48:11 -06:00
committed by Scott Lahteine
parent c36efd3106
commit 0fff79c24b
4 changed files with 61 additions and 48 deletions

View File

@ -387,10 +387,13 @@ private:
static void G28(const bool always_home_all);
#if HAS_LEVELING
static void G29();
#if ENABLED(G29_RETRY_AND_RECOVER)
static void G29_with_retry();
#define G29_TYPE bool
#else
#define G29_TYPE void
#endif
static G29_TYPE G29();
#endif
#if HAS_BED_PROBE