Browse Source

Scale runout distance setting for editable range (#18567)

vanilla_fb_2.0.x
shuttercat 5 years ago
committed by GitHub
parent
commit
9a0b9de3ba
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

@ -152,7 +152,7 @@ void menu_cancelobject();
#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, 30, EDIT_ITEM(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, float(FILAMENT_RUNOUT_DISTANCE_MM) * 1.5f,
[]{ runout.set_runout_distance(editable.decimal); }, true []{ runout.set_runout_distance(editable.decimal); }, true
); );
#endif #endif

Loading…
Cancel
Save