Sanity check for status LED pins

This commit is contained in:
Scott Lahteine 2016-09-24 16:26:57 -05:00
parent ba43277429
commit 203e519bf4

View File

@ -722,6 +722,13 @@
#error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT." #error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT."
#endif #endif
/**
* Temperature status LEDs
*/
#if ENABLED(TEMP_STAT_LEDS) && !(PIN_EXISTS(STAT_LED_RED) && PIN_EXISTS(STAT_LED_BLUE))
#error "TEMP_STAT_LEDS requires STAT_LED_RED_PIN and STAT_LED_BLUE_PIN."
#endif
/** /**
* Basic 2-nozzle duplication mode * Basic 2-nozzle duplication mode
*/ */