From 7bed539fdb03d3a7d87b7be8581d2596efac41a3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 2 Dec 2017 00:52:57 -0600 Subject: [PATCH] Fix missing return values in G33_auto_tune --- Marlin/Marlin_main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 07f0f6e9c..a2c765d1c 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -5552,7 +5552,7 @@ void home_all_axes() { gcode_G28(true); } recalc_delta_settings(); endstops.enable(true); - if (!home_delta()) return; + if (!home_delta()) return false; endstops.not_homing(); SERIAL_PROTOCOLPGM("Tuning E"); @@ -5584,7 +5584,7 @@ void home_all_axes() { gcode_G28(true); } recalc_delta_settings(); endstops.enable(true); - if (!home_delta()) return; + if (!home_delta()) return false; endstops.not_homing(); SERIAL_PROTOCOLPGM("Tuning R"); @@ -5610,7 +5610,7 @@ void home_all_axes() { gcode_G28(true); } recalc_delta_settings(); endstops.enable(true); - if (!home_delta()) return; + if (!home_delta()) return false; endstops.not_homing(); SERIAL_PROTOCOLPGM("Tuning T"); @@ -5644,7 +5644,7 @@ void home_all_axes() { gcode_G28(true); } a_fac *= norm; // Normalize to 0.83 for Kossel mini endstops.enable(true); - if (!home_delta()) return; + if (!home_delta()) return false; endstops.not_homing(); print_signed_float(PSTR( "H_FACTOR: "), h_fac); print_signed_float(PSTR(" R_FACTOR: "), r_fac);