First Version to be updateable over API
All checks were successful
Test compiling project / test (push) Successful in 2m34s
All checks were successful
Test compiling project / test (push) Successful in 2m34s
This commit is contained in:
@@ -83,7 +83,7 @@ Firmware OTA::createErrorResponse(const String& errorMsg) {
|
||||
};
|
||||
}
|
||||
|
||||
void OTA::run_ota_update(String url, std::function<void()> callback_started, std::function<void()> callback_finished, std::function<void(int, int)> callback_progress, std::function<void(int)> callback_error) {
|
||||
void run_ota_update(String url, std::function<void()> callback_started, std::function<void()> callback_finished, std::function<void(int, int)> callback_progress, std::function<void(int)> callback_error) {
|
||||
Log.verbose("Starting OTA upgrade");
|
||||
HTTPUpdate httpUpdate;
|
||||
httpUpdate.onStart(callback_started);
|
||||
|
||||
Reference in New Issue
Block a user