Suppress warnings
This commit is contained in:
parent
6121c9018a
commit
58177a1602
4 changed files with 19 additions and 7 deletions
|
|
@ -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,8 +415,12 @@ void Planner::check_axes_activity() {
|
|||
|
||||
#if ENABLED(BARICUDA)
|
||||
block = &block_buffer[block_buffer_tail];
|
||||
tail_valve_pressure = block->valve_pressure;
|
||||
tail_e_to_p_pressure = block->e_to_p_pressure;
|
||||
#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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue