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
// ota not supported
#else
// otaHandler.updateFirmwareIfOutdated(ag->deviceId());
otaHandler.updateFirmwareIfOutdated(ag->deviceId());
#endif
apiClient.fetchServerConfiguration();