1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Updater MD5 cleanup on begin (#7534)

Co-authored-by: Cristian Popescu <cristian.popescu@esolutions.ro>
This commit is contained in:
Cristian Popescu 2020-08-18 03:26:22 +03:00 committed by GitHub
parent 5b3d290de8
commit c33a6a261d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);