Skip to content

Commit

Permalink
Update temperature.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored Jun 29, 2021
1 parent 9c464c1 commit 57cd8d9
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 57cd8d9

Please sign in to comment.