Skip to content

Commit cef623b

Browse files
authored
🔧 Clarify M600 sanity-check (MarlinFirmware#26702)
1 parent 12434e7 commit cef623b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/inc/SanityCheck.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
542542
#elif FILAMENT_RUNOUT_DISTANCE_MM < 0
543543
#error "FILAMENT_RUNOUT_DISTANCE_MM must be greater than or equal to zero."
544544
#elif DISABLED(ADVANCED_PAUSE_FEATURE) && defined(FILAMENT_RUNOUT_SCRIPT)
545-
static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR.");
545+
static_assert(nullptr == strstr(FILAMENT_RUNOUT_SCRIPT, "M600"), "FILAMENT_RUNOUT_SCRIPT cannot make use of M600 unless ADVANCED_PAUSE_FEATURE is enabled");
546546
#endif
547547
#endif
548548

@@ -614,7 +614,7 @@ static_assert(COUNT(arm) == LOGICAL_AXES, "AXIS_RELATIVE_MODES must contain " _L
614614
#elif ENABLED(MMU2_MENUS) && !HAS_MARLINUI_MENU
615615
#error "MMU2_MENUS requires an LCD supporting MarlinUI."
616616
#elif DISABLED(ADVANCED_PAUSE_FEATURE)
617-
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).");
617+
static_assert(nullptr == strstr(MMU2_FILAMENT_RUNOUT_SCRIPT, "M600"), "MMU2_FILAMENT_RUNOUT_SCRIPT cannot make use of M600 unless ADVANCED_PAUSE_FEATURE is enabled");
618618
#endif
619619
#endif
620620

0 commit comments

Comments
 (0)