Skip to content

Commit 3f8cfbc

Browse files
committed
add writeOnly test
1 parent f4c0ef3 commit 3f8cfbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArduinoCloudThing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int ArduinoCloudThing::checkNewData() {
106106
int counter = 0;
107107
for (int i = 0; i < list.size(); i++) {
108108
ArduinoCloudPropertyGeneric *p = list.get(i);
109-
if (p->shouldBeUpdated()) {
109+
if (p->shouldBeUpdated() && p->canRead()) {
110110
counter++;
111111
}
112112
}

0 commit comments

Comments
 (0)