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

This commit is contained in:
DerAndere
2022-04-18 06:03:39 +02:00
committed by GitHub
parent fd082df077
commit 2ee39b62f3
16 changed files with 35 additions and 62 deletions

View File

@@ -106,7 +106,7 @@ void GcodeSuite::M701() {
#else
constexpr float purge_length = ADVANCED_PAUSE_PURGE_LENGTH,
slow_load_length = FILAMENT_CHANGE_SLOW_LOAD_LENGTH;
const float fast_load_length = ABS(parser.seen('L') ? parser.value_axis_units(E_AXIS)
const float fast_load_length = ABS(parser.seenval('L') ? parser.value_axis_units(E_AXIS)
: fc_settings[active_extruder].load_length);
load_filament(
slow_load_length, fast_load_length, purge_length,