Updated esp32 target, updated github actions

This commit is contained in:
Magnus Persson
2022-03-11 08:14:46 +01:00
parent 2d1317af0d
commit 036e10cd5d
8 changed files with 53 additions and 23 deletions

View File

@ -240,7 +240,11 @@ bool WifiConnection::updateFirmware() {
WiFiClientSecure wifiSecure;
HTTPUpdateResult ret;
String serverPath = myConfig.getOtaURL();
#if defined (ESP8266)
serverPath += "firmware.bin";
#else // defined (ESP32)
serverPath += "firmware32.bin";
#endif
if (serverPath.startsWith("https://")) {
wifiSecure.setInsecure();