1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 05:17:17 +00:00

🩹 Fix G61 with no extruders (#27521)

This commit is contained in:
ellensp 2024-11-13 10:22:50 +13:00 committed by GitHub
parent f6c58c59c3
commit 472f1ece2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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