🩹 Fix some parameters w/out values (#24051)
This commit is contained in:
committed by
Scott Lahteine
parent
85599abba7
commit
ecfe7b6400
@@ -48,7 +48,7 @@ void GcodeSuite::M412() {
|
||||
if (seenR || seenS) runout.reset();
|
||||
if (seenS) runout.enabled = parser.value_bool();
|
||||
#if HAS_FILAMENT_RUNOUT_DISTANCE
|
||||
if (parser.seen('D')) runout.set_runout_distance(parser.value_linear_units());
|
||||
if (parser.seenval('D')) runout.set_runout_distance(parser.value_linear_units());
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user