ota update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
// Firmware update over WiFi (Menu > System > "Check for update") -
|
||||
// checks against the latest version in the GitHub repository (Releases API) and
|
||||
// checks against the latest version in a private Gitea repository (Releases API) and
|
||||
// installs it on the device directly upon confirmation, without cable/
|
||||
// web flasher. Blocking, synchronous HTTPS calls - only executed on
|
||||
// explicit button press (no background polling), analogous to
|
||||
@@ -23,7 +23,7 @@ namespace OtaUpdate {
|
||||
char downloadUrl[192] = {0};
|
||||
};
|
||||
|
||||
// Queries the GitHub Releases API for the latest release, compares
|
||||
// Queries the Gitea Releases API for the latest release, compares
|
||||
// its version number (tag name, "v" prefix is ignored) against
|
||||
// Config::APP_VERSION and looks for the "firmware.bin" attachment in the release.
|
||||
// CheckResult::Error on any error along the way (no WiFi, timeout,
|
||||
|
||||
Reference in New Issue
Block a user