|
|
|
@ -410,17 +410,13 @@ void Planner::check_axes_activity() {
|
|
|
|
|
|
|
|
|
|
#if ENABLED(BARICUDA)
|
|
|
|
|
#if HAS_HEATER_1
|
|
|
|
|
uint8_t tail_valve_pressure = baricuda_valve_pressure;
|
|
|
|
|
uint8_t tail_valve_pressure;
|
|
|
|
|
#endif
|
|
|
|
|
#if HAS_HEATER_2
|
|
|
|
|
uint8_t tail_e_to_p_pressure = baricuda_e_to_p_pressure;
|
|
|
|
|
uint8_t tail_e_to_p_pressure;
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if FAN_COUNT > 0
|
|
|
|
|
for (uint8_t i = 0; i < FAN_COUNT; i++) tail_fan_speed[i] = fanSpeeds[i];
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
if (blocks_queued()) {
|
|
|
|
|
|
|
|
|
|
#if FAN_COUNT > 0
|
|
|
|
@ -445,6 +441,20 @@ void Planner::check_axes_activity() {
|
|
|
|
|
LOOP_XYZE(i) if (block->steps[i]) axis_active[i]++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
#if FAN_COUNT > 0
|
|
|
|
|
for (uint8_t i = 0; i < FAN_COUNT; i++) tail_fan_speed[i] = fanSpeeds[i];
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(BARICUDA)
|
|
|
|
|
#if HAS_HEATER_1
|
|
|
|
|
tail_valve_pressure = baricuda_valve_pressure;
|
|
|
|
|
#endif
|
|
|
|
|
#if HAS_HEATER_2
|
|
|
|
|
tail_e_to_p_pressure = baricuda_e_to_p_pressure;
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DISABLE_X)
|
|
|
|
|
if (!axis_active[X_AXIS]) disable_X();
|
|
|
|
|