Корректируем новую схему с новыми устройствами esp01

This commit is contained in:
2022-10-12 15:48:05 +03:00
parent 3af9b457de
commit 0e44ba1a3e
20 changed files with 380 additions and 502 deletions

View File

@@ -72,7 +72,7 @@ bool upgradeBuild() {
handleUpdateStatus(true, PATH_ERROR);
return ret;
}
#ifdef esp8266_4mb
#if defined (esp8266_4mb) || defined (esp8266_1mb) || defined (esp8266_1mb_ota)
ESPhttpUpdate.rebootOnUpdate(false);
t_httpUpdate_return retBuild = ESPhttpUpdate.update(wifiClient, getBinPath("firmware.bin"));
#endif