Follow-up and fix for the PR #3453(ELAPSED / PENDING for rollover-safe time checking)

・Add more "UL" suffix
・Restore removed "UL" suffix
This commit is contained in:
esenapaj
2016-04-17 07:50:02 +09:00
parent a5452902a6
commit 832e1c1f2a
3 changed files with 3 additions and 3 deletions

View File

@@ -1105,7 +1105,7 @@ void tp_init() {
void start_watching_heater(int e) {
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] = millis() + (WATCH_TEMP_PERIOD) * 1000;
watch_heater_next_ms[e] = millis() + (WATCH_TEMP_PERIOD) * 1000UL;
}
else
watch_heater_next_ms[e] = 0;