Skip to content

Commit d5dff19

Browse files
committed
🔧 Sanity check MMU2_MENUS
1 parent 21cd715 commit d5dff19

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Marlin/src/inc/SanityCheck.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
10701070
#elif ENABLED(MMU_EXTRUDER_SENSOR) && DISABLED(FILAMENT_RUNOUT_SENSOR)
10711071
#error "MMU_EXTRUDER_SENSOR requires FILAMENT_RUNOUT_SENSOR. Enable it to continue."
10721072
#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."
10741076
#elif DISABLED(ADVANCED_PAUSE_FEATURE)
10751077
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).");
10761078
#endif

0 commit comments

Comments
 (0)