fix updater and other things
This commit is contained in:
BIN
_FIRMWARE/firmwares/Sonoff_Basic/Arduino_ide_setting.png
Normal file
BIN
_FIRMWARE/firmwares/Sonoff_Basic/Arduino_ide_setting.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
@@ -98,20 +98,19 @@ void setup() {
|
||||
Serial.printf("HTTP_UPDATE_FAILD Error (%d): %s", ESPhttpUpdate.getLastError(), ESPhttpUpdate.getLastErrorString().c_str());
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
break;
|
||||
|
||||
case HTTP_UPDATE_NO_UPDATES:
|
||||
Serial.println("HTTP_UPDATE_NO_UPDATES");
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
break;
|
||||
|
||||
case HTTP_UPDATE_OK:
|
||||
Serial.println("HTTP_UPDATE_OK");
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
break;
|
||||
}
|
||||
delay(500);
|
||||
@@ -214,7 +213,6 @@ void loadDataFromWeb() {
|
||||
} else if (requestState == "succes") {
|
||||
unsuccessfulRounds = 0;
|
||||
}
|
||||
|
||||
WiFi.hostname(hostName);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user