Initial kesp32_app_base component
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
|
||||
/** Initialize and start periodic SNTP synchronization. */
|
||||
esp_err_t time_sync_start(void);
|
||||
|
||||
/** Wait for the first successful synchronization and log local time. */
|
||||
esp_err_t time_sync_wait(TickType_t timeout);
|
||||
Reference in New Issue
Block a user