This repository has been archived on 2024-10-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
esp-firewall/SourceCode/esp-idf/src/main.c
2022-04-10 13:26:52 +02:00

20 lines
392 B
C

#include "common/theLogger.h"
#include "common/theSNTP.h"
#include "common/theNVS.h"
#include "network/theWifi.h"
#include "network/theWebServer.h"
char server_ip[IP4ADDR_STRLEN_MAX] = "0.0.0.0";
void app_main()
{
setup_all_log_levels();
print_logo();
print_esp32_information();
setup_nvs();
setup_wifi(server_ip);
setup_sntp();
setup_web_server(server_ip);
}