Fix Z raise in filament load M701 (#21762)

Fixes #21750
This commit is contained in:
Sebastiaan Dammann 2021-05-02 02:38:31 +02:00 committed by Scott Lahteine
parent 5625ceec7d
commit 2d9557cf40

View File

@ -97,7 +97,7 @@ void GcodeSuite::M701() {
};
// Raise the Z axis (with max limit)
const float park_raise = _MIN(0, park_point.z, (Z_MAX_POS) - current_position.z);
const float park_raise = _MIN(park_point.z, (Z_MAX_POS) - current_position.z);
move_z_by(park_raise);
// Load filament