Combine thermal runaway and watch-period

- Make thermal protection for all hotends and/or bed into simple
switches
- Now enable `WATCH_TEMP_PERIOD` when `THERMAL_PROTECTION_HOTENDS` is
enabled
- Move detailed thermal parameters to `Configuration_adv.h`
- Add sanity checks to warn about old configurations
- Change `WATCH_TEMP_PERIOD` to seconds instead of milliseconds
This commit is contained in:
Scott Lahteine
2015-05-10 22:52:01 -07:00
parent 4097207c75
commit 2445ae3d3a
30 changed files with 428 additions and 362 deletions

View File

@@ -3167,7 +3167,7 @@ inline void gcode_M104() {
setTargetHotend1(temp == 0.0 ? 0.0 : temp + duplicate_extruder_temp_offset);
#endif
#ifdef WATCH_TEMP_PERIOD
#ifdef THERMAL_PROTECTION_HOTENDS
start_watching_heater(target_extruder);
#endif
}
@@ -3281,7 +3281,7 @@ inline void gcode_M109() {
if (code_seen('B')) autotemp_max = code_value();
#endif
#ifdef WATCH_TEMP_PERIOD
#ifdef THERMAL_PROTECTION_HOTENDS
start_watching_heater(target_extruder);
#endif