Extend logging of ArduinoOTA (#3217)

This commit is contained in:
Me No Dev
2019-09-16 19:54:21 +03:00
committed by GitHub
parent 4ce2cc3c1d
commit 06a399b84a
3 changed files with 23 additions and 32 deletions

View File

@ -80,6 +80,8 @@ class UpdateClass {
*/
void printError(Stream &out);
const char * errorString();
/*
sets the expected MD5 for the firmware (hexString)
*/

View File

@ -363,4 +363,8 @@ void UpdateClass::printError(Stream &out){
out.println(_err2str(_error));
}
const char * UpdateClass::errorString(){
return _err2str(_error);
}
UpdateClass Update;