1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-01 03:26:58 +03:00

setMD5 has now returns bool

handle setMD5 failed in HTTP update
reset UpdaterClass when MD5 check failed
see: #1244
This commit is contained in:
Markus Sattler
2015-12-18 08:30:35 +01:00
parent 727b6b1f6f
commit 02e6b2fc16
4 changed files with 14 additions and 4 deletions

View File

@ -65,7 +65,7 @@ class UpdaterClass {
/*
sets the expected MD5 for the firmware (hexString)
*/
void setMD5(const char * expected_md5);
bool setMD5(const char * expected_md5);
/*
returns the MD5 String of the sucessfully ended firmware