Skip to content

Commit dbe17d2

Browse files
zinkettlucasssvaz
andauthored
Update libraries/Update/src/Update.h
Co-authored-by: Lucas Saavedra Vaz <[email protected]>
1 parent 1b8976f commit dbe17d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/Update/src/Update.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class UpdateClass {
139139
sets the expected MD5 for the firmware (hexString)
140140
If calc_post_decryption is true, the update library will calculate the MD5 after the decryption, if false the calculation occurs before the decryption
141141
*/
142-
bool setMD5(const char *expected_md5, bool calc_post_decryption);
142+
bool setMD5(const char *expected_md5, bool calc_post_decryption=true);
143143

144144
/*
145145
returns the MD5 String of the successfully ended firmware

0 commit comments

Comments
 (0)