We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61f7524 + 8780dd5 commit 0786de6Copy full SHA for 0786de6
Adafruit_MQTT.h
@@ -105,14 +105,13 @@
105
#define MQTT_CONN_WILLFLAG 0x04
106
#define MQTT_CONN_CLEANSESSION 0x02
107
108
-// how many subscriptions we want to be able to track
109
-#define MAXSUBSCRIPTIONS 5
110
-
111
// how much data we save in a subscription object
112
-// eg max-subscription-payload-size
+// and how many subscriptions we want to be able to track.
113
#if defined (__AVR_ATmega32U4__) || defined(__AVR_ATmega328P__)
+ #define MAXSUBSCRIPTIONS 5
114
#define SUBSCRIPTIONDATALEN 20
115
#else
+ #define MAXSUBSCRIPTIONS 15
116
#define SUBSCRIPTIONDATALEN 100
117
#endif
118
0 commit comments