check firmware update after powerup

This commit is contained in:
Phat Nguyen
2024-05-22 11:34:42 +07:00
parent f505b39247
commit 805546b78e

View File

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