btclock_v3/src/lib/ota.hpp

12 lines
314 B
C++
Raw Normal View History

2023-11-30 21:38:01 +00:00
#include "lib/config.hpp"
#include "lib/shared.hpp"
#include <Arduino.h>
#include <ArduinoOTA.h>
void setupOTA();
void onOTAStart();
void handleOTATask(void *parameter);
void onOTAProgress(unsigned int progress, unsigned int total);
void downloadUpdate();
2023-11-13 00:02:01 +00:00
void onOTAError(ota_error_t error);
void onOTAComplete();