mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
add progress option for espota.py and fix typo in ArduinoOTA
This commit is contained in:
@ -63,7 +63,7 @@ void ArduinoOTAClass::begin() {
|
||||
|
||||
if (!_hostname.length()) {
|
||||
char tmp[15];
|
||||
sprintf(tmp, "esp8266-%02x", ESP.getChipId());
|
||||
sprintf(tmp, "esp8266-%06x", ESP.getChipId());
|
||||
_hostname = tmp;
|
||||
}
|
||||
if (!_port) {
|
||||
|
Reference in New Issue
Block a user