Skip to content

Commit 0c9fa22

Browse files
committed
Close HTTP port when done with image download
1 parent 0de9663 commit 0c9fa22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/system/wifi/esp32SpiAtHttp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ uint32_t WiFiClient::downloadFile(const char *_url, volatile uint8_t *_downloade
449449
totalDownloaded += n;
450450
}
451451
}
452+
end();
452453

453454
return totalDownloaded;
454455
}

0 commit comments

Comments
 (0)