Configure SNTP
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user