Skip to content

Commit

Permalink
Updater MD5 cleanup on begin (#7534)
Browse files Browse the repository at this point in the history
Co-authored-by: Cristian Popescu <[email protected]>
  • Loading branch information
CriPstian and Cristian Popescu committed Aug 18, 2020
1 parent 5b3d290 commit c33a6a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cores/esp8266/Updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ bool UpdaterClass::begin(size_t size, int command, int ledPin, uint8_t ledOn) {

_reset();
clearError(); // _error = 0
_target_md5 = emptyString;
_md5 = MD5Builder();

#ifndef HOST_MOCK
wifi_set_sleep_type(NONE_SLEEP_T);
Expand Down

0 comments on commit c33a6a2

Please sign in to comment.