|
@@ -483,7 +483,7 @@ void menu_backlash();
|
483
|
483
|
// M204 T Travel Acceleration
|
484
|
484
|
EDIT_ITEM_FAST(float5_25, MSG_A_TRAVEL, &planner.settings.travel_acceleration, 25, max_accel);
|
485
|
485
|
|
486
|
|
- #define EDIT_AMAX(Q,L) EDIT_ITEM_FAST_N(long5_25, _AXIS(Q), MSG_AMAX_N, &planner.settings.max_acceleration_mm_per_s2[_AXIS(Q)], L, max_accel_edit_scaled[_AXIS(Q)], []{ planner.reset_acceleration_rates(); })
|
|
486
|
+ #define EDIT_AMAX(Q,L) EDIT_ITEM_FAST_N(long5_25, _AXIS(Q), MSG_AMAX_N, &planner.settings.max_acceleration_mm_per_s2[_AXIS(Q)], L, max_accel_edit_scaled[_AXIS(Q)], []{ planner.refresh_acceleration_rates(); })
|
487
|
487
|
NUM_AXIS_CODE(
|
488
|
488
|
EDIT_AMAX(A, 100), EDIT_AMAX(B, 100), EDIT_AMAX(C, 10),
|
489
|
489
|
EDIT_AMAX(I, 10), EDIT_AMAX(J, 10), EDIT_AMAX(K, 10),
|
|
@@ -491,14 +491,14 @@ void menu_backlash();
|
491
|
491
|
);
|
492
|
492
|
|
493
|
493
|
#if ENABLED(DISTINCT_E_FACTORS)
|
494
|
|
- EDIT_ITEM_FAST(long5_25, MSG_AMAX_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(active_extruder)], 100, max_accel_edit_scaled.e, []{ planner.reset_acceleration_rates(); });
|
|
494
|
+ EDIT_ITEM_FAST(long5_25, MSG_AMAX_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(active_extruder)], 100, max_accel_edit_scaled.e, []{ planner.refresh_acceleration_rates(); });
|
495
|
495
|
LOOP_L_N(n, E_STEPPERS)
|
496
|
496
|
EDIT_ITEM_FAST_N(long5_25, n, MSG_AMAX_EN, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(n)], 100, max_accel_edit_scaled.e, []{
|
497
|
497
|
if (MenuItemBase::itemIndex == active_extruder)
|
498
|
|
- planner.reset_acceleration_rates();
|
|
498
|
+ planner.refresh_acceleration_rates();
|
499
|
499
|
});
|
500
|
500
|
#elif E_STEPPERS
|
501
|
|
- EDIT_ITEM_FAST(long5_25, MSG_AMAX_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, max_accel_edit_scaled.e, []{ planner.reset_acceleration_rates(); });
|
|
501
|
+ EDIT_ITEM_FAST(long5_25, MSG_AMAX_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, max_accel_edit_scaled.e, []{ planner.refresh_acceleration_rates(); });
|
502
|
502
|
#endif
|
503
|
503
|
|
504
|
504
|
#ifdef XY_FREQUENCY_LIMIT
|