mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 14:57:05 +00:00
🩹 Fix G61 with no extruders (#27521)
This commit is contained in:
parent
f6c58c59c3
commit
472f1ece2a
@ -75,7 +75,9 @@ void GcodeSuite::G61(int8_t slot/*=-1*/) {
|
||||
|
||||
// No XYZ...E parameters, move to stored position
|
||||
|
||||
float epos = stored_position[slot].e;
|
||||
#if HAS_EXTRUDERS
|
||||
float epos = stored_position[slot].e;
|
||||
#endif
|
||||
if (!parser.seen_axis()) {
|
||||
DEBUG_ECHOLNPGM(STR_RESTORING_POSITION, slot, " (all axes)");
|
||||
// Move to the saved position, all axes except E
|
||||
|
Loading…
Reference in New Issue
Block a user