|
|
|
@ -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(); |
|
|
|
|