You've already forked Adafruit_MQTT_Library
mirror of
https://github.com/adafruit/Adafruit_MQTT_Library.git
synced 2025-07-21 18:22:06 +03:00
add platform ifdef for subscription length limit
This commit is contained in:
@ -110,7 +110,11 @@
|
|||||||
|
|
||||||
// how much data we save in a subscription object
|
// how much data we save in a subscription object
|
||||||
// eg max-subscription-payload-size
|
// eg max-subscription-payload-size
|
||||||
#define SUBSCRIPTIONDATALEN 20
|
#if defined (__AVR_ATmega32U4__) || defined(__AVR_ATmega328P__)
|
||||||
|
#define SUBSCRIPTIONDATALEN 20
|
||||||
|
#else
|
||||||
|
#define SUBSCRIPTIONDATALEN 100
|
||||||
|
#endif
|
||||||
|
|
||||||
class AdafruitIO_Feed; // forward decl
|
class AdafruitIO_Feed; // forward decl
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user