|
|
@ -1023,12 +1023,12 @@ void setWatch() {
|
|
|
|
SERIAL_EOL;
|
|
|
|
SERIAL_EOL;
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int heater_index = heater_id >= 0 ? heater_id : EXTRUDERS;
|
|
|
|
|
|
|
|
|
|
|
|
// If the target temperature changes, restart
|
|
|
|
// If the target temperature changes, restart
|
|
|
|
if (tr_target_temperature[heater_index] != target_temperature)
|
|
|
|
if (tr_target_temperature[heater_index] != target_temperature)
|
|
|
|
*state = TRReset;
|
|
|
|
*state = TRReset;
|
|
|
|
|
|
|
|
|
|
|
|
int heater_index = heater_id >= 0 ? heater_id : EXTRUDERS;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
switch (*state) {
|
|
|
|
switch (*state) {
|
|
|
|
case TRReset:
|
|
|
|
case TRReset:
|
|
|
|
*timer = 0;
|
|
|
|
*timer = 0;
|
|
|
|