Skip to content

Commit

Permalink
Fix Z raise in filament load M701 (MarlinFirmware#21762)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebazzz authored and lkrammes committed May 2, 2021
1 parent efc3583 commit 2a382dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/feature/pause/M701_M702.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a382dc

Please sign in to comment.