We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc4de1 commit 7317834Copy full SHA for 7317834
src/ota/implementation/OTASTM32H7.cpp
@@ -76,6 +76,7 @@ OTACloudProcessInterface::State STM32H7OTACloudProcess::startOTA() {
76
77
OTACloudProcessInterface::State STM32H7OTACloudProcess::flashOTA() {
78
fclose(decompressed);
79
+ decompressed = nullptr;
80
81
/* Schedule the firmware update. */
82
if(!storageOpen()) {
0 commit comments