mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Work on Github update #171
This commit is contained in:
parent
844a163e5d
commit
13aff49479
12 changed files with 146 additions and 24 deletions
4
GitOTA.h
4
GitOTA.h
|
|
@ -28,7 +28,7 @@ class GitRelease {
|
|||
|
||||
class GitRepo {
|
||||
public:
|
||||
int8_t getReleases(uint8_t num = GIT_MAX_RELEASES);
|
||||
int16_t getReleases(uint8_t num = GIT_MAX_RELEASES);
|
||||
GitRelease releases[GIT_MAX_RELEASES + 1];
|
||||
bool toJSON(JsonObject &obj);
|
||||
};
|
||||
|
|
@ -39,7 +39,7 @@ class GitUpdater {
|
|||
bool updateAvailable = false;
|
||||
appver_t latest;
|
||||
bool cancelled = false;
|
||||
int8_t error = 0;
|
||||
int16_t error = 0;
|
||||
char targetRelease[32];
|
||||
char currentFile[64] = "";
|
||||
char baseUrl[128] = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue