Skip to content

Commit b814fb9

Browse files
committed
Increase delay between publishes and fix a typo
1 parent 9fe660b commit b814fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mqtt_polling/mqtt_polling.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void loop() {
6969
String message = MqttClient.readMessage(MQTT_SUB_TOPIC);
7070

7171
// Read message will return an empty string if there were no new
72-
// messages, so anything other than that means that there were a new
72+
// messages, so anything other than that means that there was a new
7373
// message
7474
if (message != "") {
7575
Log.infof("Got new message: %s\r\n", message.c_str());
@@ -87,5 +87,5 @@ void loop() {
8787
Log.error("Failed to publish");
8888
}
8989

90-
delay(1000);
90+
delay(5000);
9191
}

0 commit comments

Comments
 (0)