Skip to content

Commit 31d9eea

Browse files
committed
Call THing.poll with the new API
1 parent 52e179d commit 31d9eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoCloud.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void ArduinoCloudClass::poll()
9696
{
9797
_mqttClient.loop();
9898
uint8_t data[1024];
99-
int length = Thing.poll(data);
99+
int length = Thing.poll(data, sizeof(data));
100100
if (length > 0) {
101101
writeProperties(data, length);
102102
}

0 commit comments

Comments
 (0)