From e56ead5e1cacd234ee29cbc5c50ee8af42f46b9f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 25 Nov 2017 16:01:55 -0600 Subject: [PATCH] Followup to G33 patch --- Marlin/Marlin_main.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index f9b706204..37c66cb8e 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -5544,13 +5544,12 @@ void home_all_axes() { gcode_G28(true); } } inline float calibration_probe(const float nx, const float ny, const bool stow) { - return - #if HAS_BED_PROBE - probe_pt(nx, ny, stow, 0, false) - #else - lcd_probe_pt(nx, ny) - #endif - ; + #if HAS_BED_PROBE + return probe_pt(nx, ny, stow, 0, false); + #else + UNUSED(stow); + return lcd_probe_pt(nx, ny); + #endif } static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points, const bool towers_set, const bool stow_after_each) {