You've already forked Adafruit_MQTT_Library
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:
@ -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;
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user