Skip to content

Commit

Permalink
Update temperature.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored and slowbro committed Jul 2, 2021
1 parent d0191e4 commit 438d82a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2745,9 +2745,10 @@ void Temperature::disable_all_heaters() {
// Set thermocouple above max temperature (TMAX)
max_tc_temp = THERMO_SEL(TEMP_SENSOR_0_MAX_TC_TMAX, TEMP_SENSOR_1_MAX_TC_TMAX) << (MAX_TC_DISCARD_BITS + 1);
}
} else {
max_tc_errors[hindex] = 0;
} // if(there was an error)
}
else {
max_tc_errors[hindex] = 0; // No error bit, reset error count
}

max_tc_temp >>= MAX_TC_DISCARD_BITS;

Expand Down

0 comments on commit 438d82a

Please sign in to comment.