Skip to content

Commit c33a6a2

Browse files
CriPstianCristian Popescu
and
Cristian Popescu
authored
Updater MD5 cleanup on begin (#7534)
Co-authored-by: Cristian Popescu <cristian.popescu@esolutions.ro>
1 parent 5b3d290 commit c33a6a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cores/esp8266/Updater.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ bool UpdaterClass::begin(size_t size, int command, int ledPin, uint8_t ledOn) {
113113

114114
_reset();
115115
clearError(); // _error = 0
116+
_target_md5 = emptyString;
117+
_md5 = MD5Builder();
116118

117119
#ifndef HOST_MOCK
118120
wifi_set_sleep_type(NONE_SLEEP_T);

0 commit comments

Comments
 (0)