исправление ошики с округлением логирования

This commit is contained in:
Dmitry Borisenko
2022-09-19 01:41:15 +02:00
parent 3eb2d40596
commit f7e459cab4
9 changed files with 21 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
void periodicTasksInit() {
//задачи редкого выполнения
ts.add(
PTASK, 1000 * 30, [&](void*) {
PTASK, 1000 * 60, [&](void*) {
// fs
getFSInfo();
// heap
@@ -22,6 +22,7 @@ void periodicTasksInit() {
// build ver
jsonWriteStr_(errorsHeapJson, F("bver"), String(FIRMWARE_VERSION));
jsonWriteStr_(errorsHeapJson, F("bn"), String(FIRMWARE_NAME));
jsonWriteStr_(errorsHeapJson, F("wver"), getWebVersion());
// reset reason
jsonWriteStr_(errorsHeapJson, F("rst"), ESP_getResetReason());
periodicWsSend();