This commit is contained in:
michael
2026-01-17 02:49:32 +01:00
parent a1ccda2e88
commit 4905663933
283 changed files with 32074 additions and 15759 deletions

View File

@@ -1,24 +1,24 @@
#pragma once
#ifndef TIMESNTP_H
#define TIMESNTP_H
#ifndef TIME_SNTP_H
#define TIME_SNTP_H
#include <string>
#include <time.h>
#include <sys/time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_log.h"
#include "esp_attr.h"
#include "esp_sleep.h"
#include "esp_sntp.h"
std::string getCurrentTimeString(const char * frm);
std::string ConvertTimeToString(time_t _time, const char * frm);
std::string getCurrentTimeString(const char *frm);
std::string ConvertTimeToString(time_t _time, const char *frm);
bool getTimeIsSet(void);
bool getTimeWasNotSetAtBoot(void);
@@ -30,5 +30,4 @@ bool time_manual_reset_sync(void);
extern int LocalTimeToUTCOffsetSeconds;
#endif //TIMESNTP_H
#endif // TIME_SNTP_H