Browse Source

Add sanity check for LED_CONTROL_MENU

Addressing #10569
Scott Lahteine 7 years ago
parent
commit
616651ff23
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Marlin/src/inc/SanityCheck.h

+ 7
- 0
Marlin/src/inc/SanityCheck.h View File

@@ -1147,6 +1147,13 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
1147 1147
 #endif
1148 1148
 
1149 1149
 /**
1150
+ * LED Control Menu
1151
+ */
1152
+#if ENABLED(LED_CONTROL_MENU) && !HAS_COLOR_LEDS
1153
+  #error "LED_CONTROL_MENU requires BLINKM, RGB_LED, RGBW_LED, PCA9632, or NEOPIXEL_LED."
1154
+#endif
1155
+
1156
+/**
1150 1157
  * Basic 2-nozzle duplication mode
1151 1158
  */
1152 1159
 #if ENABLED(DUAL_NOZZLE_DUPLICATION_MODE)

Loading…
Cancel
Save