Small changes for watchdog.

master
Holger Wirtz 4 years ago
parent 18b2f17f14
commit 37f1fa9091
  1. 3
      WLAN_Thermometer.ino

@ -166,7 +166,7 @@ void setup()
sched.addJob(show_time, KRATE_TIME); sched.addJob(show_time, KRATE_TIME);
sched.addJob(check_reset_ap_data, KRATE_RESET_AP_DATA); sched.addJob(check_reset_ap_data, KRATE_RESET_AP_DATA);
sched.addJob(check_datetime, KRATE_CHECK_DATETIME); sched.addJob(check_datetime, KRATE_CHECK_DATETIME);
sched.addJob(watchdog_reset, WDT_TIMEOUT / 2); sched.addJob(watchdog_reset, WDT_TIMEOUT / 3);
get_sensor_data(); get_sensor_data();
temp[MIN] = temp[ACT]; temp[MIN] = temp[ACT];
@ -178,6 +178,7 @@ void setup()
strcpy(date_string_old, "--:--:----"); strcpy(date_string_old, "--:--:----");
watchdog_reset();
setup_screen(); setup_screen();
show_time(); show_time();
show_temperature(); show_temperature();

Loading…
Cancel
Save