Skip to main content
Sign in
Snippets Groups Projects
Commit 19b24a34 authored by scotthsl's avatar scotthsl Committed by Scott Lahteine
Browse files

Fix M412 without HOST_ACTION_COMMANDS (#14591)

parent 4a5f135c
Branches
Tags
No related merge requests found
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
* M412: Enable / Disable filament runout detection * M412: Enable / Disable filament runout detection
*/ */
void GcodeSuite::M412() { void GcodeSuite::M412() {
if (parser.seen("HS" if (parser.seen("RS"
#ifdef FILAMENT_RUNOUT_DISTANCE_MM #ifdef FILAMENT_RUNOUT_DISTANCE_MM
"D" "D"
#endif #endif
#if ENABLED(HOST_ACTION_COMMANDS) #if ENABLED(HOST_ACTION_COMMANDS)
"R" "H"
#endif #endif
)) { )) {
#if ENABLED(HOST_ACTION_COMMANDS) #if ENABLED(HOST_ACTION_COMMANDS)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment