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:
@@ -313,4 +313,16 @@
|
||||
#error [XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM
|
||||
#endif
|
||||
|
||||
#if WATCH_TEMP_PERIOD > 500
|
||||
#error WATCH_TEMP_PERIOD now uses seconds instead of milliseconds
|
||||
#endif
|
||||
|
||||
#if !defined(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
|
||||
#error Thermal Runaway Protection for hotends must now be enabled with THERMAL_PROTECTION_HOTENDS
|
||||
#endif
|
||||
|
||||
#if !defined(THERMAL_PROTECTION_BED) && defined(THERMAL_PROTECTION_BED_PERIOD)
|
||||
#error Thermal Runaway Protection for the bed must now be enabled with THERMAL_PROTECTION_BED
|
||||
#error
|
||||
|
||||
#endif //SANITYCHECK_H
|
||||
|
Reference in New Issue
Block a user