Fix missing return values in G33_auto_tune

master
Scott Lahteine 7 years ago
parent e990fd23f1
commit 7bed539fdb

@ -5552,7 +5552,7 @@ void home_all_axes() { gcode_G28(true); }
recalc_delta_settings(); recalc_delta_settings();
endstops.enable(true); endstops.enable(true);
if (!home_delta()) return; if (!home_delta()) return false;
endstops.not_homing(); endstops.not_homing();
SERIAL_PROTOCOLPGM("Tuning E"); SERIAL_PROTOCOLPGM("Tuning E");
@ -5584,7 +5584,7 @@ void home_all_axes() { gcode_G28(true); }
recalc_delta_settings(); recalc_delta_settings();
endstops.enable(true); endstops.enable(true);
if (!home_delta()) return; if (!home_delta()) return false;
endstops.not_homing(); endstops.not_homing();
SERIAL_PROTOCOLPGM("Tuning R"); SERIAL_PROTOCOLPGM("Tuning R");
@ -5610,7 +5610,7 @@ void home_all_axes() { gcode_G28(true); }
recalc_delta_settings(); recalc_delta_settings();
endstops.enable(true); endstops.enable(true);
if (!home_delta()) return; if (!home_delta()) return false;
endstops.not_homing(); endstops.not_homing();
SERIAL_PROTOCOLPGM("Tuning T"); 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 a_fac *= norm; // Normalize to 0.83 for Kossel mini
endstops.enable(true); endstops.enable(true);
if (!home_delta()) return; if (!home_delta()) return false;
endstops.not_homing(); endstops.not_homing();
print_signed_float(PSTR( "H_FACTOR: "), h_fac); print_signed_float(PSTR( "H_FACTOR: "), h_fac);
print_signed_float(PSTR(" R_FACTOR: "), r_fac); print_signed_float(PSTR(" R_FACTOR: "), r_fac);

Loading…
Cancel
Save