Revert breaking change to callback signature

This commit is contained in:
Nick O'Leary
2016-02-02 07:40:48 +00:00
parent 4739ca0802
commit 341661671b
3 changed files with 4 additions and 4 deletions

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 {