M141 Heated Chamber, Temperature rework (#12201)

This commit is contained in:
3dlabsio
2019-03-07 00:09:39 -08:00
committed by Scott Lahteine
parent 44571775bd
commit 645ca7af7a
196 changed files with 2183 additions and 676 deletions

View File

@@ -155,10 +155,10 @@ void PrintJobRecovery::save(const bool force/*=false*/, const bool save_queue/*=
info.active_hotend = active_extruder;
#endif
COPY(info.target_temperature, thermalManager.target_temperature);
HOTEND_LOOP() info.target_temperature[e] = thermalManager.temp_hotend[e].target;
#if HAS_HEATED_BED
info.target_temperature_bed = thermalManager.target_temperature_bed;
info.target_temperature_bed = thermalManager.temp_bed.target;
#endif
#if FAN_COUNT
@@ -385,7 +385,7 @@ void PrintJobRecovery::resume() {
#if FAN_COUNT
SERIAL_ECHOPGM("fan_speed: ");
for (int8_t i = 0; i < FAN_COUNT; i++) {
FANS_LOOP(i) {
SERIAL_ECHO(int(info.fan_speed[i]));
if (i < FAN_COUNT - 1) SERIAL_CHAR(',');
}