|
@@ -170,8 +170,8 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
|
170
|
170
|
#endif
|
171
|
171
|
info.feedrate = uint16_t(feedrate_mm_s * 60.0f);
|
172
|
172
|
|
173
|
|
- #if HOTENDS > 1
|
174
|
|
- info.active_hotend = active_extruder;
|
|
173
|
+ #if EXTRUDERS > 1
|
|
174
|
+ info.active_extruder = active_extruder;
|
175
|
175
|
#endif
|
176
|
176
|
|
177
|
177
|
HOTEND_LOOP() info.target_temperature[e] = thermalManager.temp_hotend[e].target;
|
|
@@ -282,7 +282,7 @@ void PrintJobRecovery::resume() {
|
282
|
282
|
|
283
|
283
|
// Select the previously active tool (with no_move)
|
284
|
284
|
#if EXTRUDERS > 1
|
285
|
|
- sprintf_P(cmd, PSTR("T%i S"), info.active_hotend);
|
|
285
|
+ sprintf_P(cmd, PSTR("T%i S"), info.active_extruder);
|
286
|
286
|
gcode.process_subcommands_now(cmd);
|
287
|
287
|
#endif
|
288
|
288
|
|
|
@@ -443,8 +443,8 @@ void PrintJobRecovery::resume() {
|
443
|
443
|
|
444
|
444
|
DEBUG_ECHOLNPAIR("feedrate: ", info.feedrate);
|
445
|
445
|
|
446
|
|
- #if HOTENDS > 1
|
447
|
|
- DEBUG_ECHOLNPAIR("active_hotend: ", int(info.active_hotend));
|
|
446
|
+ #if EXTRUDERS > 1
|
|
447
|
+ DEBUG_ECHOLNPAIR("active_extruder: ", int(info.active_extruder));
|
448
|
448
|
#endif
|
449
|
449
|
|
450
|
450
|
DEBUG_ECHOPGM("target_temperature: ");
|