Add sanity-check for MOTHERBOARD

2.0.x
Scott Lahteine 7 years ago
parent b64cc9329e
commit bbf80440bf

@ -54,7 +54,9 @@
/** /**
* Warnings for old configurations * Warnings for old configurations
*/ */
#if !defined(X_BED_SIZE) || !defined(Y_BED_SIZE) #ifndef MOTHERBOARD
#error "MOTHERBOARD is required. Please update your configuration."
#elif !defined(X_BED_SIZE) || !defined(Y_BED_SIZE)
#error "X_BED_SIZE and Y_BED_SIZE are now required! Please update your configuration." #error "X_BED_SIZE and Y_BED_SIZE are now required! Please update your configuration."
#elif WATCH_TEMP_PERIOD > 500 #elif WATCH_TEMP_PERIOD > 500
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds." #error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."

Loading…
Cancel
Save