mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
ArduinoOTA: forward errors from Update.begin to espota.py
If Update.begin fails, instead of printing “No response from device”, espota.py will print the actual error message from the Updater.
This commit is contained in:
committed by
Ivan Grokhotkov
parent
01e1c586cb
commit
03baea27ef
@ -79,7 +79,8 @@ class ArduinoOTAClass
|
||||
ota_state_t _state;
|
||||
int _size;
|
||||
int _cmd;
|
||||
int _ota_port;
|
||||
uint16_t _ota_port;
|
||||
uint16_t _ota_udp_port;
|
||||
IPAddress _ota_ip;
|
||||
String _md5;
|
||||
|
||||
|
Reference in New Issue
Block a user