1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-24 16:42:31 +03:00

loren review

This commit is contained in:
brentru
2022-10-28 16:32:51 -04:00
parent a80db209cd
commit 52e04bebe9
2 changed files with 4 additions and 1 deletions

View File

@ -239,6 +239,9 @@ void Adafruit_MQTT::processSubscriptionPacket(Adafruit_MQTT_Subscribe *sub) {
} else if (sub->callback_io != NULL) {
// execute callback in io mode
((sub->io_mqtt)->*(sub->callback_io))((char *)sub->lastread, sub->datalen);
} else {
DEBUG_PRINTLN("ERROR: Subscription packet did not have an associated callback");
return;
}
// mark subscription message as "read""
sub->new_message = false;

View File

@ -1,5 +1,5 @@
name=Adafruit MQTT Library
version=2.4.4
version=2.5.0
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=MQTT library that supports the FONA, ESP8266, ESP32, Yun, and generic Arduino Client hardware.