Browse Source

🔧 Sanity check MMU2_MENUS

Scott Lahteine 3 years ago
parent
commit
d5dff1948d
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/inc/SanityCheck.h

+ 3
- 1
Marlin/src/inc/SanityCheck.h View File

1070
   #elif ENABLED(MMU_EXTRUDER_SENSOR) && DISABLED(FILAMENT_RUNOUT_SENSOR)
1070
   #elif ENABLED(MMU_EXTRUDER_SENSOR) && DISABLED(FILAMENT_RUNOUT_SENSOR)
1071
     #error "MMU_EXTRUDER_SENSOR requires FILAMENT_RUNOUT_SENSOR. Enable it to continue."
1071
     #error "MMU_EXTRUDER_SENSOR requires FILAMENT_RUNOUT_SENSOR. Enable it to continue."
1072
   #elif ENABLED(MMU_EXTRUDER_SENSOR) && !HAS_LCD_MENU
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
   #elif DISABLED(ADVANCED_PAUSE_FEATURE)
1076
   #elif DISABLED(ADVANCED_PAUSE_FEATURE)
1075
     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).");
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
   #endif
1078
   #endif

Loading…
Cancel
Save