Remove redundant cancel_heatup assignment
cancel_heatup is set to false inside wait_for_heater() there is no need to do it before the function call Change in memory: Flash: -4 bytes SRAM: 0 bytes
This commit is contained in:
parent
c999c2948e
commit
020239687a
|
|
@ -6164,8 +6164,6 @@ Sigma_Exit:
|
||||||
/* See if we are heating up or cooling down */
|
/* See if we are heating up or cooling down */
|
||||||
target_direction = isHeatingHotend(active_extruder); // true if heating, false if cooling
|
target_direction = isHeatingHotend(active_extruder); // true if heating, false if cooling
|
||||||
|
|
||||||
cancel_heatup = false;
|
|
||||||
|
|
||||||
wait_for_heater(codenum, active_extruder); //loops until target temperature is reached
|
wait_for_heater(codenum, active_extruder); //loops until target temperature is reached
|
||||||
|
|
||||||
LCD_MESSAGERPGM(_T(MSG_HEATING_COMPLETE));
|
LCD_MESSAGERPGM(_T(MSG_HEATING_COMPLETE));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue