ota handling implemented

This commit is contained in:
nick-4711
2024-04-24 19:56:37 +07:00
parent e12a154235
commit 1c8d7b04e9
3 changed files with 23 additions and 17 deletions

View File

@ -182,7 +182,7 @@ void setup() {
#ifdef ESP8266
// ota not supported
#else
otaHandler.updateFirmwareIfOutdated();
otaHandler.updateFirmwareIfOutdated(ag->deviceId());
#endif
apiClient.fetchServerConfiguration();