|
@@ -185,7 +185,7 @@ void PrintJobRecovery::save(const bool force/*=false*/) {
|
185
|
185
|
#if EXTRUDERS > 1
|
186
|
186
|
for (int8_t e = 0; e < EXTRUDERS; e++) info.filament_size[e] = planner.filament_size[e];
|
187
|
187
|
#else
|
188
|
|
- if (parser.volumetric_enabled) info.filament_size = planner.filament_size[active_extruder];
|
|
188
|
+ if (parser.volumetric_enabled) info.filament_size[0] = planner.filament_size[active_extruder];
|
189
|
189
|
#endif
|
190
|
190
|
#endif
|
191
|
191
|
|
|
@@ -331,7 +331,7 @@ void PrintJobRecovery::resume() {
|
331
|
331
|
}
|
332
|
332
|
#else
|
333
|
333
|
if (info.volumetric_enabled) {
|
334
|
|
- dtostrf(info.filament_size, 1, 3, str_1);
|
|
334
|
+ dtostrf(info.filament_size[0], 1, 3, str_1);
|
335
|
335
|
sprintf_P(cmd, PSTR("M200 D%s"), str_1);
|
336
|
336
|
gcode.process_subcommands_now(cmd);
|
337
|
337
|
}
|