Merge pull request #3576 from leptun/fix_save_bed_temperature

Save target bed temperature, not current temperature
This commit is contained in:
Alex Voinea 2022-08-28 17:47:50 +03:00 committed by GitHub
commit aa2cd4b89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11563,7 +11563,7 @@ void stop_and_save_print_to_ram(float z_move, float e_move)
saved_feedmultiply2 = feedmultiply; //save feedmultiply
saved_active_extruder = active_extruder; //save active_extruder
saved_extruder_temperature = degTargetHotend(active_extruder);
saved_bed_temperature = degBed();
saved_bed_temperature = degTargetBed();
saved_extruder_relative_mode = axis_relative_modes & E_AXIS_MASK;
saved_fan_speed = fanSpeed;
cmdqueue_reset(); //empty cmdqueue