Moving into components parts of the provider project

This commit is contained in:
2026-03-26 20:36:27 -04:00
parent cfe19d5e65
commit f483a4d292
12 changed files with 48 additions and 30 deletions
+3 -3
View File
@@ -18,10 +18,10 @@
// Project headers
#include "types.hpp"
#include "network.hpp"
#include "led.hpp"
// Project cpp (Unity Build entry)
// clang-format off
#include "led_status.cpp"
#include "http_server.cpp"
#include "mdns_service.cpp"
#include "udp_logger.cpp"
@@ -42,7 +42,7 @@ constexpr bool kBlockUntilEthernetEstablished = false;
internal void my_timer_callback(void *arg)
{
ESP_LOGI(kTagMain, "Timer finished! Turning Led Off...");
destroy_led();
turn_off_led();
}
extern "C" void app_main()
@@ -378,7 +378,7 @@ shutdown:
g_Wifi_Initialized = false;
}
destroy_led();
turn_off_led();
ESP_ERROR_CHECK(esp_event_loop_delete_default());
ESP_ERROR_CHECK(nvs_flash_deinit());