From 9a0b9de3ba4747a7eac0c714e361b56a1f86fbeb Mon Sep 17 00:00:00 2001 From: shuttercat <67816426+shuttercat@users.noreply.github.com> Date: Mon, 6 Jul 2020 15:48:55 -0700 Subject: [PATCH] Scale runout distance setting for editable range (#18567) --- Marlin/src/lcd/menu/menu_advanced.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/menu/menu_advanced.cpp b/Marlin/src/lcd/menu/menu_advanced.cpp index cee5e6e33f..a252f91a33 100644 --- a/Marlin/src/lcd/menu/menu_advanced.cpp +++ b/Marlin/src/lcd/menu/menu_advanced.cpp @@ -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