mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 13:25:54 +00:00
Fix min limit for acc, feed, jerk (#16416)
This commit is contained in:
parent
00c83e9ca6
commit
47edbd9220
@ -2749,7 +2749,7 @@ void Planner::refresh_positioning() {
|
||||
inline void limit_and_warn(float &val, const uint8_t axis, PGM_P const setting_name, const xyze_float_t &max_limit) {
|
||||
const uint8_t lim_axis = axis > E_AXIS ? E_AXIS : axis;
|
||||
const float before = val;
|
||||
LIMIT(val, 1, max_limit[lim_axis]);
|
||||
LIMIT(val, 0.1, max_limit[lim_axis]);
|
||||
if (before != val) {
|
||||
SERIAL_CHAR(axis_codes[lim_axis]);
|
||||
SERIAL_ECHOPGM(" Max ");
|
||||
|
Loading…
Reference in New Issue
Block a user