mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-10 18:50:00 +01:00
21 lines
335 B
C++
21 lines
335 B
C++
#ifndef TASK_OTA_H_
|
|
#define TASK_OTA_H_
|
|
|
|
#include <ArduinoOTA.h>
|
|
#include <TaskManager.h>
|
|
|
|
class OTATask : public Task {
|
|
public:
|
|
OTATask();
|
|
virtual ~OTATask();
|
|
|
|
virtual bool setup(System &system) override;
|
|
virtual bool loop(System &system) override;
|
|
|
|
private:
|
|
ArduinoOTAClass _ota;
|
|
bool _beginCalled;
|
|
};
|
|
|
|
#endif
|