Skip to content

Commit 0ebefe8

Browse files
committed
Remove the onSync callback end event from device properties
1 parent 4aa628a commit 0ebefe8

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
@@ -255,8 +255,8 @@ int ArduinoIoTCloudTCP::begin(bool const enable_watchdog, String brokerAddress,
255255
addPropertyReal(_ota_cap, _device_property_container, "OTA_CAP", Permission::Read);
256256
addPropertyReal(_ota_error, _device_property_container, "OTA_ERROR", Permission::Read);
257257
addPropertyReal(_ota_img_sha256, _device_property_container, "OTA_SHA256", Permission::Read);
258-
addPropertyReal(_ota_url, _device_property_container, "OTA_URL", Permission::ReadWrite).onSync(CLOUD_WINS);
259-
addPropertyReal(_ota_req, _device_property_container, "OTA_REQ", Permission::ReadWrite).onSync(CLOUD_WINS);
258+
addPropertyReal(_ota_url, _device_property_container, "OTA_URL", Permission::ReadWrite);
259+
addPropertyReal(_ota_req, _device_property_container, "OTA_REQ", Permission::ReadWrite);
260260
#endif /* OTA_ENABLED */
261261

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

0 commit comments

Comments
 (0)