mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 12:35:51 +00:00
Merge pull request #8625 from tcm0116/2.0.x-G33
[2.0.x] Fix missing return values in G33_auto_tune
This commit is contained in:
commit
046a1ad331
@ -254,7 +254,7 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
||||
recalc_delta_settings();
|
||||
|
||||
endstops.enable(true);
|
||||
if (!home_delta()) return;
|
||||
if (!home_delta()) return false;
|
||||
endstops.not_homing();
|
||||
|
||||
SERIAL_PROTOCOLPGM("Tuning E");
|
||||
@ -286,7 +286,7 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
||||
recalc_delta_settings();
|
||||
|
||||
endstops.enable(true);
|
||||
if (!home_delta()) return;
|
||||
if (!home_delta()) return false;
|
||||
endstops.not_homing();
|
||||
|
||||
SERIAL_PROTOCOLPGM("Tuning R");
|
||||
@ -312,7 +312,7 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
||||
recalc_delta_settings();
|
||||
|
||||
endstops.enable(true);
|
||||
if (!home_delta()) return;
|
||||
if (!home_delta()) return false;
|
||||
endstops.not_homing();
|
||||
|
||||
SERIAL_PROTOCOLPGM("Tuning T");
|
||||
@ -346,7 +346,7 @@ static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user