1
0
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:
Me No Dev
2015-11-11 23:23:25 +02:00
parent 3c14656a26
commit 18f0a9999a
2 changed files with 44 additions and 6 deletions

View File

@ -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) {