Browse Source

Sanity check for status LED pins

Scott Lahteine 8 years ago
parent
commit
203e519bf4
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Marlin/SanityCheck.h

+ 7
- 0
Marlin/SanityCheck.h View File

@@ -723,6 +723,13 @@
723 723
 #endif
724 724
 
725 725
 /**
726
+ * Temperature status LEDs
727
+ */
728
+#if ENABLED(TEMP_STAT_LEDS) && !(PIN_EXISTS(STAT_LED_RED) && PIN_EXISTS(STAT_LED_BLUE))
729
+  #error "TEMP_STAT_LEDS requires STAT_LED_RED_PIN and STAT_LED_BLUE_PIN."
730
+#endif
731
+
732
+/**
726 733
  * Basic 2-nozzle duplication mode
727 734
  */
728 735
 #if ENABLED(DUAL_NOZZLE_DUPLICATION_MODE)

Loading…
Cancel
Save