Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Marlin/src/lcd/extui/ui_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ namespace ExtUI {
void moveToMeshPoint(const xy_uint8_t &pos, const_float_t z) {
#if ANY(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
REMEMBER(fr, feedrate_mm_s);
const float x_target = MESH_MIN_X + pos.x * (TERN(AUTO_BED_LEVELING_UBL, bedlevel.mesh_dist.x, MESH_X_DIST)),
y_target = MESH_MIN_Y + pos.y * (TERN(AUTO_BED_LEVELING_UBL, bedlevel.mesh_dist.y, MESH_Y_DIST));
const float x_target = MESH_MIN_X + pos.x * (TERN(VARIABLE_GRID_POINTS, bedlevel.mesh_dist.x, MESH_X_DIST));
const float y_target = MESH_MIN_Y + pos.y * (TERN(VARIABLE_GRID_POINTS, bedlevel.mesh_dist.y, MESH_Y_DIST));
if (x_target != current_position.x || y_target != current_position.y) {
// If moving across bed, raise nozzle to safe height over bed
feedrate_mm_s = z_probe_fast_mm_s;
Expand Down
Loading