Browse Source

🐛 Fix M876 without emergency parser

Fix regression from 1fb2fffdbf
Scott Lahteine 1 year ago
parent
commit
bbf4bcf5ae
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/gcode/gcode.cpp

+ 3
- 1
Marlin/src/gcode/gcode.cpp View File

@@ -600,7 +600,9 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
600 600
         case 108: M108(); break;                                  // M108: Cancel Waiting
601 601
         case 112: M112(); break;                                  // M112: Full Shutdown
602 602
         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
604 606
       #else
605 607
         case 108: case 112: case 410:
606 608
         TERN_(HOST_PROMPT_SUPPORT, case 876:)

Loading…
Cancel
Save