Skip to content

Commit

Permalink
Scale runout distance setting for editable range (#18567)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuttercat authored Jul 6, 2020
1 parent 9ee891c commit 9a0b9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/menu/menu_advanced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void menu_cancelobject();

#if HAS_FILAMENT_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
);
#endif
Expand Down

0 comments on commit 9a0b9de

Please sign in to comment.