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

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

@@ -67,7 +67,7 @@ class Loging : public IoTItem {
String logData;
jsonWriteInt(logData, "x", unixTime);
jsonWriteInt(logData, "y1", value.toFloat());
jsonWriteFloat(logData, "y1", value.toFloat());
//прочитаем путь к файлу последнего сохранения
String filePath = readDataDB(id);