1 Commits
v2.5 ... v2.6

Author SHA1 Message Date
341661671b Revert breaking change to callback signature 2016-02-02 07:40:48 +00:00
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/knolleary/pubsubclient.git"
},
"version": "2.5",
"version": "2.6",
"exclude": "tests",
"examples": "examples/*/*.ino",
"frameworks": "arduino",

View File

@ -1,5 +1,5 @@
name=PubSubClient
version=2.5
version=2.6
author=Nick O'Leary <nick.oleary@gmail.com>
maintainer=Nick O'Leary <nick.oleary@gmail.com>
sentence=A client library for MQTT messaging.

View File

@ -75,9 +75,9 @@
#ifdef ESP8266
#include <functional>
#define MQTT_CALLBACK_SIGNATURE std::function<void(char*, uint8_t*, uint32_t)> callback
#define MQTT_CALLBACK_SIGNATURE std::function<void(char*, uint8_t*, unsigned int)> callback
#else
#define MQTT_CALLBACK_SIGNATURE void (*callback)(char*, uint8_t*, uint32_t)
#define MQTT_CALLBACK_SIGNATURE void (*callback)(char*, uint8_t*, unsigned int)
#endif
class PubSubClient {