♻️ Stepper options refactor (#25422)
This commit is contained in:
@@ -1320,7 +1320,7 @@ void Planner::recalculate(TERN_(HINTS_SAFE_EXIT_SPEED, const_float_t safe_exit_s
|
||||
*/
|
||||
void Planner::check_axes_activity() {
|
||||
|
||||
#if ANY(DISABLE_X, DISABLE_Y, DISABLE_Z, DISABLE_I, DISABLE_J, DISABLE_K, DISABLE_U, DISABLE_V, DISABLE_W, DISABLE_E)
|
||||
#if HAS_DISABLE_AXIS
|
||||
xyze_bool_t axis_active = { false };
|
||||
#endif
|
||||
|
||||
@@ -1360,7 +1360,7 @@ void Planner::check_axes_activity() {
|
||||
TERN_(HAS_HEATER_2, tail_e_to_p_pressure = block->e_to_p_pressure);
|
||||
#endif
|
||||
|
||||
#if ANY(DISABLE_X, DISABLE_Y, DISABLE_Z, DISABLE_I, DISABLE_J, DISABLE_K, DISABLE_E)
|
||||
#if HAS_DISABLE_AXIS
|
||||
for (uint8_t b = block_buffer_tail; b != block_buffer_head; b = next_block_index(b)) {
|
||||
block_t * const bnext = &block_buffer[b];
|
||||
LOGICAL_AXIS_CODE(
|
||||
@@ -1492,7 +1492,7 @@ void Planner::check_axes_activity() {
|
||||
thermalManager.setTargetHotend(t, active_extruder);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // AUTOTEMP
|
||||
|
||||
#if DISABLED(NO_VOLUMETRICS)
|
||||
|
||||
|
Reference in New Issue
Block a user