Skip to content

Commit 5b178c3

Browse files
committed
increased delay during network read
1 parent 69cb7d2 commit 5b178c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MQTTClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ inline lwmqtt_err_t lwmqtt_arduino_network_read(void *ref, uint8_t *buffer, size
6969

7070
// wait/unblock for some time (RTOS based boards may otherwise fail since
7171
// the wifi task cannot provide the data)
72-
delay(0);
72+
delay(1);
7373

7474
// otherwise check status
7575
if (!n->client->connected()) {

0 commit comments

Comments
 (0)