Bläddra i källkod

🔧 Sanity check MMU2_MENUS

Scott Lahteine 3 år sedan
förälder
incheckning
d5dff1948d
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      Marlin/src/inc/SanityCheck.h

+ 3
- 1
Marlin/src/inc/SanityCheck.h Visa fil

@@ -1070,7 +1070,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1070 1070
   #elif ENABLED(MMU_EXTRUDER_SENSOR) && DISABLED(FILAMENT_RUNOUT_SENSOR)
1071 1071
     #error "MMU_EXTRUDER_SENSOR requires FILAMENT_RUNOUT_SENSOR. Enable it to continue."
1072 1072
   #elif ENABLED(MMU_EXTRUDER_SENSOR) && !HAS_LCD_MENU
1073
-    #error "MMU_EXTRUDER_SENSOR requires an LCD supporting MarlinUI to be enabled."
1073
+    #error "MMU_EXTRUDER_SENSOR requires an LCD supporting MarlinUI."
1074
+  #elif ENABLED(MMU2_MENUS) && !HAS_LCD_MENU
1075
+    #error "MMU2_MENUS requires an LCD supporting MarlinUI."
1074 1076
   #elif DISABLED(ADVANCED_PAUSE_FEATURE)
1075 1077
     static_assert(nullptr == strstr(MMU2_FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with PRUSA_MMU2(S) / HAS_EXTENDABLE_MMU(S).");
1076 1078
   #endif

Laddar…
Avbryt
Spara