Refactor: sys_status in separate component ausgelagert

This commit is contained in:
2025-12-11 01:16:06 +01:00
parent 882f7d6784
commit 5f60ea3841
4 changed files with 10 additions and 2 deletions
@@ -0,0 +1,8 @@
idf_component_register(
SRCS
"src/sys_status.c"
INCLUDE_DIRS
"include"
REQUIRES
)
@@ -1,8 +1,9 @@
#include "sys_status.h"
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/event_groups.h" #include "freertos/event_groups.h"
#include "esp_check.h" #include "esp_check.h"
#include "sys_status.h"
static EventGroupHandle_t s_status_group = NULL; static EventGroupHandle_t s_status_group = NULL;
void sys_status_init(void) void sys_status_init(void)
-1
View File
@@ -4,7 +4,6 @@ set(app_sources
"net_influx.c" "net_influx.c"
"net_mdns.c" "net_mdns.c"
"sen5x_app.c" "sen5x_app.c"
"sys_status.c"
"wifi_mgr.c" "wifi_mgr.c"
) )