From a2bdbacb17f4445239e92873a6ebde54211aa76a Mon Sep 17 00:00:00 2001 From: xdylanm Date: Sun, 30 May 2021 16:16:14 -0700 Subject: [PATCH] format --- Adafruit_MQTT.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Adafruit_MQTT.cpp b/Adafruit_MQTT.cpp index 7c593f1..d167c32 100644 --- a/Adafruit_MQTT.cpp +++ b/Adafruit_MQTT.cpp @@ -733,7 +733,8 @@ uint16_t Adafruit_MQTT::publishPacket(uint8_t *packet, const char *topic, // 2 + additionalLen: header byte + remaining length field (from 1 to 4 bytes) // len = topic size field + value (string) // bLen = buffer size - if (!(maxPacketLen == 0 || (len + bLen + 2 + additionalLen <= maxPacketLen))) { + if (!(maxPacketLen == 0 || + (len + bLen + 2 + additionalLen <= maxPacketLen))) { // If we make it here, we got a pickle: the payload is not going // to fit in the packet buffer. Instead of corrupting memory, let's // do something less damaging by reducing the bLen to what we are