Closed mtnbrit closed 8 years ago
Hi in the src/MQTT.cpp file you are distributing with your pubsubclient, there are two errors around line 646
// Unsubscribe class Unsubscribe::Unsubscribe() : Message(SUBSCRIBE), _buffer(NULL), _buflen(0) { _need_packet_id = true; } Unsubscribe::Unsubscribe(String topic) : Message(SUBSCRIBE), _buffer(NULL), _buflen(0) {
the two instances of Message(SUBSCRIBE) should clearly be Message(UNSUBSCRIBE)
Ive run into this and fixing it makes unsubbing work,thx.
Thanks for spotting that!
Hi in the src/MQTT.cpp file you are distributing with your pubsubclient, there are two errors around line 646
the two instances of Message(SUBSCRIBE) should clearly be Message(UNSUBSCRIBE)
Ive run into this and fixing it makes unsubbing work,thx.