Skip to content

Commit e101b79

Browse files
committed
Reanme of the standard sync callbacks.
1 parent c399baf commit e101b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoIoTCloud.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class ArduinoIoTCloudClass {
100100

101101

102102
template<typename T, typename N=T>
103-
void addPropertyReal(T & property, String name, permissionType permission_type = READWRITE, long seconds = ON_CHANGE, void(*fn)(void) = NULL, void(*synFn)(ArduinoCloudProperty<T> property) = FORCE_CLOUD_SYNC, N minDelta = N(0)) {
103+
void addPropertyReal(T & property, String name, permissionType permission_type = READWRITE, long seconds = ON_CHANGE, void(*fn)(void) = NULL, void(*synFn)(ArduinoCloudProperty<T> property) = CLOUD_WINS, N minDelta = N(0)) {
104104
Permission permission = Permission::ReadWrite;
105105
if (permission_type == READ ) permission = Permission::Read;
106106
else if(permission_type == WRITE) permission = Permission::Write;

0 commit comments

Comments
 (0)