From 4fa0226cce08ea56e41e0b5d702ff56f119db374 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 16 Nov 2017 11:45:33 -0800 Subject: [PATCH] Add some comments --- src/PubSubClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PubSubClient.cpp b/src/PubSubClient.cpp index 5932bdb..9d50e8a 100755 --- a/src/PubSubClient.cpp +++ b/src/PubSubClient.cpp @@ -363,10 +363,14 @@ boolean PubSubClient::publish(const char* topic, const uint8_t* payload, unsigne // Leave room in the buffer for header and variable length field uint16_t length = 5; length = writeString(topic,buffer,length); + + // Add payload uint16_t i; for (i=0;i