LoRa_APRS_iGate/src/TaskOTA.h

21 wiersze
369 B
C
Czysty Zwykły widok Historia

#ifndef TASK_OTA_H_
#define TASK_OTA_H_
#include <ArduinoOTA.h>
#include <TaskManager.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:
std::shared_ptr<ArduinoOTAClass> _ota;
bool _beginCalled;
};
#endif