Skip to content

Commit d8bff68

Browse files
committed
Add volumetric limit to tune menu
1 parent 1e009c2 commit d8bff68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Marlin/src/lcd/menu/menu_tune.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ void menu_tune() {
113113
//
114114
EDIT_ITEM(int3, MSG_SPEED, &feedrate_percentage, SPEED_EDIT_MIN, SPEED_EDIT_MAX);
115115

116+
#if ENABLED(VOLUMETRIC_EXTRUDER_LIMIT)
117+
EDIT_ITEM_FAST(float42_52, MSG_VOLUMETRIC_LIMIT, &planner.volumetric_extruder_limit[active_extruder], 0.0f, float(VOLUMETRIC_EXTRUDER_LIMIT_MAX), planner.calculate_volumetric_extruder_limits);
118+
#if HAS_MULTI_EXTRUDER
119+
EXTRUDER_LOOP()
120+
EDIT_ITEM_FAST_N(float42_52, e, MSG_VOLUMETRIC_LIMIT_E, &planner.volumetric_extruder_limit[e], 0.0f, float(VOLUMETRIC_EXTRUDER_LIMIT_MAX), planner.calculate_volumetric_extruder_limits);
121+
#endif
122+
#endif
123+
116124
//
117125
// Manual bed leveling, Bed Z:
118126
//

0 commit comments

Comments
 (0)