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) {
|
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 uint8_t lim_axis = axis > E_AXIS ? E_AXIS : axis;
|
||||||
const float before = val;
|
const float before = val;
|
||||||
LIMIT(val, 1, max_limit[lim_axis]);
|
LIMIT(val, 0.1, max_limit[lim_axis]);
|
||||||
if (before != val) {
|
if (before != val) {
|
||||||
SERIAL_CHAR(axis_codes[lim_axis]);
|
SERIAL_CHAR(axis_codes[lim_axis]);
|
||||||
SERIAL_ECHOPGM(" Max ");
|
SERIAL_ECHOPGM(" Max ");
|
||||||
|
Loading…
Reference in New Issue
Block a user