From 203e519bf4d17b1fa419d848532bf81033da5ef2 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 24 Sep 2016 16:26:57 -0500 Subject: [PATCH] Sanity check for status LED pins --- Marlin/SanityCheck.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index 7c2526bfd2..41ce24382f 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -722,6 +722,13 @@ #error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT." #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 */