From 37f1fa9091d5729f2912df49159106f96a05227f Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sun, 29 Nov 2020 16:42:09 +0100 Subject: [PATCH] Small changes for watchdog. --- WLAN_Thermometer.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WLAN_Thermometer.ino b/WLAN_Thermometer.ino index 50bded1..44357fa 100644 --- a/WLAN_Thermometer.ino +++ b/WLAN_Thermometer.ino @@ -166,7 +166,7 @@ void setup() sched.addJob(show_time, KRATE_TIME); sched.addJob(check_reset_ap_data, KRATE_RESET_AP_DATA); sched.addJob(check_datetime, KRATE_CHECK_DATETIME); - sched.addJob(watchdog_reset, WDT_TIMEOUT / 2); + sched.addJob(watchdog_reset, WDT_TIMEOUT / 3); get_sensor_data(); temp[MIN] = temp[ACT]; @@ -178,6 +178,7 @@ void setup() strcpy(date_string_old, "--:--:----"); + watchdog_reset(); setup_screen(); show_time(); show_temperature();