Moving into components parts of the provider project
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user