Skip to content

Commit 17feea7

Browse files
authored
Update Update.h
1 parent 93401ab commit 17feea7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries/Update/src/Update.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ class UpdateClass {
9595

9696
/*
9797
sets the expected MD5 for the firmware (hexString)
98-
If calc_post_decryption is true, the update library will calculate the MD5 after the decryption, if false the calculation occurs before the decryption
9998
*/
100-
bool setMD5(const char *expected_md5, bool calc_post_decryption = true);
99+
bool setMD5(const char *expected_md5);
101100

102101
/*
103102
returns the MD5 String of the successfully ended firmware
@@ -212,7 +211,6 @@ class UpdateClass {
212211
const esp_partition_t *_partition;
213212

214213
String _target_md5;
215-
bool _target_md5_decrypted = true;
216214
MD5Builder _md5;
217215

218216
int _ledPin;

0 commit comments

Comments
 (0)