mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-29 02:40:41 -07:00
🩹 Fix FILAMENT_MOTION_SENSOR + MarlinUI build (#27994)
This commit is contained in:
parent
4fb984e960
commit
6361146f0f
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ void menu_backlash();
|
|||
auto set_runout_distance = []{ runout.set_runout_distance(editable.decimal); };
|
||||
EDIT_ITEM_FAST(float3, MSG_RUNOUT_DISTANCE_MM, &editable.decimal, 1, 999, set_runout_distance, true);
|
||||
#endif
|
||||
#if ENABLED(FILAMENT_MOTION_SENSOR)
|
||||
#if ENABLED(FILAMENT_SWITCH_AND_MOTION)
|
||||
editable.decimal = runout.motion_distance();
|
||||
auto set_motion_distance = []{ runout.set_motion_distance(editable.decimal); };
|
||||
EDIT_ITEM_FAST(float31, MSG_MOTION_DISTANCE_MM, &editable.decimal, 0.1, 10, set_motion_distance, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue