Skip to content

Commit c52cf77

Browse files
committed
🐛 Fix M876 without emergency parser
Fix regression from 1fb2fff
1 parent bfcb8c7 commit c52cf77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Marlin/src/gcode/gcode.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,9 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
600600
case 108: M108(); break; // M108: Cancel Waiting
601601
case 112: M112(); break; // M112: Full Shutdown
602602
case 410: M410(); break; // M410: Quickstop - Abort all the planned moves.
603-
TERN_(HOST_PROMPT_SUPPORT, case 876:) // M876: Handle Host prompt responses
603+
#if ENABLED(HOST_PROMPT_SUPPORT)
604+
case 876: M876(); break; // M876: Handle Host prompt responses
605+
#endif
604606
#else
605607
case 108: case 112: case 410:
606608
TERN_(HOST_PROMPT_SUPPORT, case 876:)

0 commit comments

Comments
 (0)