Browse Source

🐛 Fix M876 without emergency parser

Fix regression from 1fb2fffdbf
Scott Lahteine 2 years 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
         case 108: M108(); break;                                  // M108: Cancel Waiting
600
         case 108: M108(); break;                                  // M108: Cancel Waiting
601
         case 112: M112(); break;                                  // M112: Full Shutdown
601
         case 112: M112(); break;                                  // M112: Full Shutdown
602
         case 410: M410(); break;                                  // M410: Quickstop - Abort all the planned moves.
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
       #else
606
       #else
605
         case 108: case 112: case 410:
607
         case 108: case 112: case 410:
606
         TERN_(HOST_PROMPT_SUPPORT, case 876:)
608
         TERN_(HOST_PROMPT_SUPPORT, case 876:)

Loading…
Cancel
Save