Work on Github update #171

This commit is contained in:
Robert Strouse 2023-10-27 11:34:45 -07:00
parent 844a163e5d
commit 13aff49479
12 changed files with 146 additions and 24 deletions

View file

@ -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] = "";