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

Loading…
Cancel
Save