We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4265b commit 89dddf7Copy full SHA for 89dddf7
src/ota/interface/OTAInterfaceDefault.cpp
@@ -50,7 +50,10 @@ OTACloudProcessInterface::State OTADefaultCloudProcessInterface::startOTA() {
50
}
51
52
// make the http get request
53
- requestOta(OtaFetchTime);
+ OTACloudProcessInterface::State res = requestOta(OtaFetchTime);
54
+ if(res != Fetch) {
55
+ return res;
56
+ }
57
58
// The following call is required to save the header value , keep it
59
context->contentLength = http_client->contentLength();
0 commit comments