Browse Source

Increase filament runout distance edit limit (#20828)

vanilla_fb_2.0.x
Katelyn Schiesser 4 years ago
committed by GitHub
parent
commit
ac82dc418a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/menu/menu_advanced.cpp

2
Marlin/src/lcd/menu/menu_advanced.cpp

@ -155,7 +155,7 @@ void menu_backlash();
#if HAS_FILAMENT_RUNOUT_DISTANCE #if HAS_FILAMENT_RUNOUT_DISTANCE
editable.decimal = runout.runout_distance(); editable.decimal = runout.runout_distance();
EDIT_ITEM(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, float(FILAMENT_RUNOUT_DISTANCE_MM) * 1.5f, EDIT_ITEM_FAST(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, 999,
[]{ runout.set_runout_distance(editable.decimal); }, true []{ runout.set_runout_distance(editable.decimal); }, true
); );
#endif #endif

Loading…
Cancel
Save