Skip to content

Commit 18418b3

Browse files
ilcatoilcato
authored andcommitted
Refactoring
1 parent fb8f194 commit 18418b3

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
@@ -95,7 +95,7 @@ class ArduinoIoTCloudClass {
9595

9696

9797
template<typename T, typename N=T>
98-
void addPropertyReal(T & property, String name, permissionType permission_type = READWRITE, int syncMode = PROPERTIES_SYNC_FORCE_DEVICE, void(*synFn)(ArduinoCloudProperty<T> property) = NULL, long seconds = ON_CHANGE, void(*fn)(void) = NULL, N minDelta = N(0)) {
98+
void addPropertyReal(T & property, String name, permissionType permission_type = READWRITE, SyncMode syncMode = PROPERTIES_SYNC_FORCE_DEVICE, void(*synFn)(ArduinoCloudProperty<T> property) = NULL, long seconds = ON_CHANGE, void(*fn)(void) = NULL, N minDelta = N(0)) {
9999
Permission permission = Permission::ReadWrite;
100100
if (permission_type == READ ) permission = Permission::Read;
101101
else if(permission_type == WRITE) permission = Permission::Write;

0 commit comments

Comments
 (0)