Refactor: sys_status in separate component ausgelagert
This commit is contained in:
@@ -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/event_groups.h"
|
||||
#include "esp_check.h"
|
||||
|
||||
#include "sys_status.h"
|
||||
|
||||
static EventGroupHandle_t s_status_group = NULL;
|
||||
|
||||
void sys_status_init(void)
|
||||
@@ -4,7 +4,6 @@ set(app_sources
|
||||
"net_influx.c"
|
||||
"net_mdns.c"
|
||||
"sen5x_app.c"
|
||||
"sys_status.c"
|
||||
"wifi_mgr.c"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user