If the code hasn't been touched in this long, its probably release-worthy.
This commit is contained in:
14
src/platform/arduino/OTA.h
Normal file
14
src/platform/arduino/OTA.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <ArduinoOTA.h>
|
||||
#include <Figments.h>
|
||||
|
||||
class ArduinoOTAUpdater : public BufferedInputSource {
|
||||
public:
|
||||
ArduinoOTAUpdater();
|
||||
void loop() override;
|
||||
void handleEvent(const InputEvent& evt) override;
|
||||
|
||||
private:
|
||||
bool m_online = false;
|
||||
static void s_onStart();
|
||||
static void s_onProgress(unsigned int progress, unsigned int total);
|
||||
};
|
Reference in New Issue
Block a user