update project

This commit is contained in:
2026-04-03 23:28:02 +03:00
parent 5e7f26f128
commit 1681a694d3
12 changed files with 191 additions and 83 deletions

View File

@@ -0,0 +1,25 @@
#include "system_init.h"
#include "wifi_manager.h"
#include "time_sync.h"
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_event.h"
#include "esp_netif.h"
static const char* TAG = "system";
void system_init()
{
ESP_LOGI("SYSTEM", "Initializing system...");
init_wifi(CONFIG_WIFI_SSID, CONFIG_WIFI_PASS); // Запуск WiFI
init_time(); // Установка времени
}
void system_finalize()
{
ESP_LOGI(TAG, "Finalizing...");
}