Add bed size as a configuration option

This commit is contained in:
Scott Lahteine 2017-07-21 22:54:39 -05:00
parent dc7c95e07b
commit 51864fd365
37 changed files with 378 additions and 210 deletions

View file

@ -50,7 +50,9 @@
/**
* Warnings for old configurations
*/
#if WATCH_TEMP_PERIOD > 500
#if !defined(X_BED_SIZE) || !defined(Y_BED_SIZE)
#error "X_BED_SIZE and BED_Y_SIZE are now required! Please update your configuration."
#elif WATCH_TEMP_PERIOD > 500
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
#elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
#error "Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS."