Refactor: net_mdns in separate component ausgelagert
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
idf_component_register(
|
||||
SRCS
|
||||
"src/net_mdns.c"
|
||||
INCLUDE_DIRS
|
||||
"include"
|
||||
REQUIRES
|
||||
mdns
|
||||
esp_netif
|
||||
esp_wifi
|
||||
storage
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "esp_log.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_netif.h"
|
||||
#include "esp_wifi.h" // <— wichtig für WIFI_EVENT
|
||||
#include "esp_wifi.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "mdns.h"
|
||||
@@ -2,7 +2,6 @@ set(app_sources
|
||||
"main.c"
|
||||
"lv_fs_port.c"
|
||||
"net_influx.c"
|
||||
"net_mdns.c"
|
||||
"sen5x_app.c"
|
||||
"wifi_mgr.c"
|
||||
)
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "lwip/netdb.h"
|
||||
|
||||
#include "http_portal.h"
|
||||
#include "wifi_mgr.h"
|
||||
#include "storage.h"
|
||||
#include "net_mdns.h"
|
||||
|
||||
Reference in New Issue
Block a user