LoRa_APRS_iGate/src/TaskOTA.h

21 wiersze
342 B
C

#ifndef TASK_OTA_H_
#define TASK_OTA_H_
2023-09-23 13:37:35 +00:00
#include "System/TaskManager.h"
#include <ArduinoOTA.h>
class OTATask : public Task {
public:
OTATask();
virtual ~OTATask();
2021-05-18 22:44:37 +00:00
virtual bool setup(System &system) override;
virtual bool loop(System &system) override;
private:
2021-05-21 21:06:13 +00:00
ArduinoOTAClass _ota;
bool _beginCalled;
};
#endif