|
@@ -210,7 +210,7 @@
|
210
|
210
|
* Z Home to the Z endstop
|
211
|
211
|
*
|
212
|
212
|
*/
|
213
|
|
-void GcodeSuite::G28(const bool always_home_all) {
|
|
213
|
+void GcodeSuite::G28() {
|
214
|
214
|
if (DEBUGGING(LEVELING)) {
|
215
|
215
|
DEBUG_ECHOLNPGM(">>> G28");
|
216
|
216
|
log_machine_info();
|
|
@@ -311,7 +311,6 @@ void GcodeSuite::G28(const bool always_home_all) {
|
311
|
311
|
#if ENABLED(DELTA)
|
312
|
312
|
|
313
|
313
|
home_delta();
|
314
|
|
- UNUSED(always_home_all);
|
315
|
314
|
|
316
|
315
|
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
|
317
|
316
|
end_slow_homing(slow_homing);
|
|
@@ -320,7 +319,7 @@ void GcodeSuite::G28(const bool always_home_all) {
|
320
|
319
|
#else // NOT DELTA
|
321
|
320
|
|
322
|
321
|
const bool homeX = parser.seen('X'), homeY = parser.seen('Y'), homeZ = parser.seen('Z'),
|
323
|
|
- home_all = always_home_all || (homeX == homeY && homeX == homeZ),
|
|
322
|
+ home_all = homeX == homeY && homeX == homeZ, // All or None
|
324
|
323
|
doX = home_all || homeX, doY = home_all || homeY, doZ = home_all || homeZ;
|
325
|
324
|
|
326
|
325
|
destination = current_position;
|