Configure SNTP

This commit is contained in:
2023-05-16 00:05:55 +01:00
parent 62405149ad
commit 744f8b2504
6 changed files with 107 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES console_wrapper display settings wifi
REQUIRES console_wrapper display settings time wifi
)

View File

@@ -6,6 +6,7 @@
#include "console.h"
#include "display.h"
#include "settings.h"
#include "time_manager.h"
#include "wifi.h"
void app_main(void)
@@ -14,4 +15,5 @@ void app_main(void)
settings_init();
display_init();
wifi_init();
time_manager_init();
}