Browse Source

Fix M412 without HOST_ACTION_COMMANDS (#14591)

scotthsl 5 years ago
parent
commit
19b24a349c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/gcode/feature/runout/M412.cpp

+ 2
- 2
Marlin/src/gcode/feature/runout/M412.cpp View File

@@ -31,12 +31,12 @@
31 31
  * M412: Enable / Disable filament runout detection
32 32
  */
33 33
 void GcodeSuite::M412() {
34
-  if (parser.seen("HS"
34
+  if (parser.seen("RS"
35 35
     #ifdef FILAMENT_RUNOUT_DISTANCE_MM
36 36
       "D"
37 37
     #endif
38 38
     #if ENABLED(HOST_ACTION_COMMANDS)
39
-      "R"
39
+      "H"
40 40
     #endif
41 41
   )) {
42 42
     #if ENABLED(HOST_ACTION_COMMANDS)

Loading…
Cancel
Save