Skip to content

Commit 92c9079

Browse files
committed
Remove the onSync callback end event from device properties
1 parent e6b252c commit 92c9079

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ArduinoIoTCloudTCP.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ int ArduinoIoTCloudTCP::begin(bool const enable_watchdog, String brokerAddress,
256256
addPropertyReal(_ota_cap, _device_property_container, "OTA_CAP", Permission::Read);
257257
addPropertyReal(_ota_error, _device_property_container, "OTA_ERROR", Permission::Read);
258258
addPropertyReal(_ota_img_sha256, _device_property_container, "OTA_SHA256", Permission::Read);
259-
addPropertyReal(_ota_url, _device_property_container, "OTA_URL", Permission::ReadWrite).onSync(CLOUD_WINS);
260-
addPropertyReal(_ota_req, _device_property_container, "OTA_REQ", Permission::ReadWrite).onSync(CLOUD_WINS);
259+
addPropertyReal(_ota_url, _device_property_container, "OTA_URL", Permission::ReadWrite);
260+
addPropertyReal(_ota_req, _device_property_container, "OTA_REQ", Permission::ReadWrite);
261261
#endif /* OTA_ENABLED */
262262

263263
addPropertyReal(_tz_offset, _thing_property_container, "tz_offset", Permission::ReadWrite).onSync(CLOUD_WINS).onUpdate(updateTimezoneInfo);

0 commit comments

Comments
 (0)