Browse Source

Merge pull request #8625 from tcm0116/2.0.x-G33

[2.0.x] Fix missing return values in G33_auto_tune
Scott Lahteine 7 years ago
parent
commit
046a1ad331
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/gcode/calibrate/G33.cpp

+ 4
- 4
Marlin/src/gcode/calibrate/G33.cpp View File

254
       recalc_delta_settings();
254
       recalc_delta_settings();
255
 
255
 
256
       endstops.enable(true);
256
       endstops.enable(true);
257
-      if (!home_delta()) return;
257
+      if (!home_delta()) return false;
258
       endstops.not_homing();
258
       endstops.not_homing();
259
 
259
 
260
       SERIAL_PROTOCOLPGM("Tuning E");
260
       SERIAL_PROTOCOLPGM("Tuning E");
286
       recalc_delta_settings();
286
       recalc_delta_settings();
287
 
287
 
288
       endstops.enable(true);
288
       endstops.enable(true);
289
-      if (!home_delta()) return;
289
+      if (!home_delta()) return false;
290
       endstops.not_homing();
290
       endstops.not_homing();
291
 
291
 
292
       SERIAL_PROTOCOLPGM("Tuning R");
292
       SERIAL_PROTOCOLPGM("Tuning R");
312
       recalc_delta_settings();
312
       recalc_delta_settings();
313
 
313
 
314
       endstops.enable(true);
314
       endstops.enable(true);
315
-      if (!home_delta()) return;
315
+      if (!home_delta()) return false;
316
       endstops.not_homing();
316
       endstops.not_homing();
317
 
317
 
318
       SERIAL_PROTOCOLPGM("Tuning T");
318
       SERIAL_PROTOCOLPGM("Tuning T");
346
     a_fac *= norm; // Normalize to 0.83 for Kossel mini
346
     a_fac *= norm; // Normalize to 0.83 for Kossel mini
347
 
347
 
348
     endstops.enable(true);
348
     endstops.enable(true);
349
-    if (!home_delta()) return;
349
+    if (!home_delta()) return false;
350
     endstops.not_homing();
350
     endstops.not_homing();
351
     print_signed_float(PSTR( "H_FACTOR: "), h_fac);
351
     print_signed_float(PSTR( "H_FACTOR: "), h_fac);
352
     print_signed_float(PSTR(" R_FACTOR: "), r_fac);
352
     print_signed_float(PSTR(" R_FACTOR: "), r_fac);

Loading…
Cancel
Save