LoRa_APRS_iGate/src/TaskNTP.h

21 lines
345 B
C
Raw Normal View History

#ifndef TASK_NTP_H_
#define TASK_NTP_H_
2023-09-23 15:37:35 +02:00
#include "NTPClient/NTPClient.h"
#include "System/TaskManager.h"
class NTPTask : public Task {
public:
NTPTask();
virtual ~NTPTask();
2021-05-19 00:44:37 +02:00
virtual bool setup(System &system) override;
virtual bool loop(System &system) override;
private:
2021-05-19 01:08:37 +02:00
NTPClient _ntpClient;
bool _beginCalled;
};
#endif