Skip to content

Commit

Permalink
fix blocking move with PENTA_AXIS_TRT, PENTA_AXIS_HT
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndere1 committed Oct 1, 2024
1 parent 52faabf commit 8ba4421
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,10 @@ void do_blocking_move_to(NUM_AXIS_ARGS_(const_float_t) const_feedRate_t fr_mm_s/
if (!position_is_reachable(x, y)) return;
destination = current_position; // sync destination at the start
#elif ANY(PENTA_AXIS_TRT, PENTA_AXIS_HT)
if (!position_is_reachable_xyijkuvw(NUM_AXIS_LIST(x, y, z, i, j, k, u, v, w))) return;
destination = current_position; // sync destination at the start
if (!position_is_reachable_xyijkuvw(NUM_AXIS_LIST(x, y, z, i, j, k, u, v, w))) {
if (DEBUGGING(LEVELING)) DEBUG_POS("position not reachable. ignore move", destination);
return;
}
#endif

#if ENABLED(DELTA)
Expand Down

0 comments on commit 8ba4421

Please sign in to comment.