|
|
@ -397,8 +397,12 @@ void Planner::check_axes_activity() { |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(BARICUDA) |
|
|
|
unsigned char tail_valve_pressure = baricuda_valve_pressure, |
|
|
|
tail_e_to_p_pressure = baricuda_e_to_p_pressure; |
|
|
|
#if HAS_HEATER_1 |
|
|
|
unsigned char tail_valve_pressure = baricuda_valve_pressure; |
|
|
|
#endif |
|
|
|
#if HAS_HEATER_2 |
|
|
|
unsigned char tail_e_to_p_pressure = baricuda_e_to_p_pressure; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
if (blocks_queued()) { |
|
|
@ -411,9 +415,13 @@ void Planner::check_axes_activity() { |
|
|
|
|
|
|
|
#if ENABLED(BARICUDA) |
|
|
|
block = &block_buffer[block_buffer_tail]; |
|
|
|
#if HAS_HEATER_1 |
|
|
|
tail_valve_pressure = block->valve_pressure; |
|
|
|
#endif |
|
|
|
#if HAS_HEATER_2 |
|
|
|
tail_e_to_p_pressure = block->e_to_p_pressure; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
for (uint8_t b = block_buffer_tail; b != block_buffer_head; b = next_block_index(b)) { |
|
|
|
block = &block_buffer[b]; |
|
|
|