🩹 Fix some parameters w/out values (#24051)

This commit is contained in:
DerAndere
2022-04-18 06:03:39 +02:00
committed by Scott Lahteine
parent 85599abba7
commit ecfe7b6400
16 changed files with 35 additions and 62 deletions

View File

@@ -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 {