mirror of
https://git.btclock.dev/btclock/btclock_v3
synced 2025-04-23 01:01:21 +00:00
14 lines
316 B
C++
14 lines
316 B
C++
#include <Arduino.h>
|
|
#include <ArduinoOTA.h>
|
|
|
|
#include "lib/config.hpp"
|
|
#include "lib/shared.hpp"
|
|
|
|
void setupOTA();
|
|
void onOTAStart();
|
|
void handleOTATask(void *parameter);
|
|
void onOTAProgress(unsigned int progress, unsigned int total);
|
|
void downloadUpdate();
|
|
void onOTAError(ota_error_t error);
|
|
void onOTAComplete();
|