Use WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1 as difference limit

This commit is contained in:
Scott Lahteine
2015-05-12 18:30:38 -07:00
parent 6697a8f375
commit d693e0f378
13 changed files with 13 additions and 13 deletions

View File

@ -1007,7 +1007,7 @@ void tp_init() {
*/
void start_watching_heater(int e) {
millis_t ms = millis() + WATCH_TEMP_PERIOD * 1000;
if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE * 2)) {
if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)) {
watch_target_temp[e] = degHotend(e) + WATCH_TEMP_INCREASE;
watch_heater_next_ms[e] = ms;
}