Skip to content

Commit

Permalink
Update UpdateOTA.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-antoon committed Apr 7, 2024
1 parent da67a19 commit 9195ca6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/UpdateOTA/src/UpdateOTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,18 @@ UpdateOTAError UpdateOTA::getVersionNumber(const char *uRL, char *buffer, uint8_
return UpdateOTAError::NO_INTERNET;
}

Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111");
// Set member variables based on input parameters
_uRL = uRL;
_wifiClientSecure = new WiFiClientSecure();
Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111");
_httpClient = new HTTPClient();
Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111");
UpdateOTAError err = UpdateOTAError::SUCCESS;

Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111");
// Process the GET request
err = processGetRequest();
Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111");
if (err != UpdateOTAError::SUCCESS)
{
Log_Error(_logger, "UpdateOTA getVersionNumber error: Failed to process GET request, ErrorCode=%d", err);
Expand Down

0 comments on commit 9195ca6

Please sign in to comment.