mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-04 22:36:32 +02:00
Extend logging of ArduinoOTA (#3217)
This commit is contained in:
@ -80,6 +80,8 @@ class UpdateClass {
|
||||
*/
|
||||
void printError(Stream &out);
|
||||
|
||||
const char * errorString();
|
||||
|
||||
/*
|
||||
sets the expected MD5 for the firmware (hexString)
|
||||
*/
|
||||
|
@ -363,4 +363,8 @@ void UpdateClass::printError(Stream &out){
|
||||
out.println(_err2str(_error));
|
||||
}
|
||||
|
||||
const char * UpdateClass::errorString(){
|
||||
return _err2str(_error);
|
||||
}
|
||||
|
||||
UpdateClass Update;
|
||||
|
Reference in New Issue
Block a user