добавление логирования

This commit is contained in:
Dmitry Borisenko
2022-08-25 00:45:17 +02:00
parent 1dc7e4f9ea
commit b63d163432
11 changed files with 140 additions and 11 deletions

View File

@@ -35,6 +35,8 @@
#define USE_LITTLEFS false
#endif
#define START_DATETIME 1640995200 // 01.01.2022 00:00:00 константа для сокрацения unix time
#define MIN_DATETIME 1575158400
#define LEAP_YEAR(Y) (((1970 + Y) > 0) && !((1970 + Y) % 4) && (((1970 + Y) % 100) || !((1970 + Y) % 400)))