Skip to content

Commit

Permalink
Scale runout distance setting for editable range (MarlinFirmware#18567)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuttercat authored and Alexander Yasnogor committed Aug 7, 2020
1 parent 4371e8b commit 75cb43a
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 75cb43a

Please sign in to comment.