Skip to content

Commit

Permalink
Fix more compilation errors with SPINDLE_FEATURE
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndere1 committed Oct 13, 2024
1 parent 4928e7f commit d7a1dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@ float get_move_distance(const xyze_pos_t &diff OPTARG(HAS_ROTATIONAL_AXES, bool
}

// Fail if attempting move outside printable radius
#if ANY(PENTA_AXIS_TRT, PENTA_AXIS_HT)
#if ANY(PENTA_AXIS_TRT, PENTA_AXIS_HT) && ENABLED(ABORT_ON_SOFTWARE_ENDSTOP)
// Abort if attempting move outside printable radius
if (!position_is_reachable(destination)) {
SERIAL_ERROR_MSG("Position not reachable.");
Expand Down

0 comments on commit d7a1dab

Please sign in to comment.