fixed crone code for idf5 support, update webguiapp

This commit is contained in:
Bogdan Pilyugin 2023-05-03 14:08:35 +02:00
parent 50e224c4d9
commit a5c32d884f
5 changed files with 1719 additions and 2445 deletions

3291
.project

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 4c2dd92bd130859ce3deabd0b9e361b1d603ed73
Subproject commit abd7941e2750c1873173fc9bff53d6264406ac1f

View File

@ -1,9 +1,9 @@
dependencies:
idf:
component_hash: null
source:
type: idf
version: 4.4.4
manifest_hash: 31dd4ec84ade1450fc168388f4adce2efacd1516170670735140bc772e9d72bd
target: esp32
version: 1.0.0
dependencies:
idf:
component_hash: null
source:
type: idf
version: 5.0.1
manifest_hash: cc4f7a08a6eeed39d05fbfb84ff3df9215bdf0009945794b887b5e99cbaee95b
target: esp32
version: 1.0.0

View File

@ -78,8 +78,8 @@ void DebugTimer()
ESP_LOGW(TAG, "Cron expression:%s", GetAppConf()->Timers[i].cron);
cron_expr cron_exp = {0};
cron_parse_expr(GetAppConf()->Timers[i].cron, &cron_exp, NULL);
ESP_LOGW(TAG, "Timer %d prev: %u", i, (uint32_t)cron_prev(&cron_exp, now));
ESP_LOGW(TAG, "Timer %d next: %u", i, (uint32_t)cron_next(&cron_exp, now));
ESP_LOGW(TAG, "Timer %d prev: %u", i, (unsigned int)cron_prev(&cron_exp, now));
ESP_LOGW(TAG, "Timer %d next: %u", i, (unsigned int)cron_next(&cron_exp, now));
}
}

849
sdkconfig

File diff suppressed because it is too large Load Diff