Skip to content

Commit 5d6d29e

Browse files
committed
yield for zero ms
1 parent cc2f3ca commit 5d6d29e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=MQTT
2-
version=2.4.6
2+
version=2.4.7
33
author=Joel Gaehwiler <[email protected]>
44
maintainer=Joel Gaehwiler <[email protected]>
55
sentence=MQTT library for Arduino

src/MQTTClient.cpp

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

5151
// wait/unblock for some time (RTOS based boards may otherwise fail since the wifi task cannot provide the data)
52-
delay(1);
52+
delay(0);
5353

5454
// otherwise check status
5555
if (!n->client->connected()) {

0 commit comments

Comments
 (0)