This commit is contained in:
xdylanm 2021-05-12 21:54:08 -07:00
parent 2ea8a0b3fc
commit 93a35d1a3e

View File

@ -475,7 +475,7 @@ Adafruit_MQTT_Subscribe *Adafruit_MQTT::readSubscription(int16_t timeout) {
namespace { namespace {
uint16_t topicOffsetFromLenth(uint16_t const len) uint16_t topicOffsetFromLength(uint16_t const len)
{ {
if (len < 128) { // 7 bits (+1 continuation bit) if (len < 128) { // 7 bits (+1 continuation bit)
return 0; return 0;