add message if wrong pubsubclient library used

This commit is contained in:
Florian committed 2019-04-13 12:56:41 +02:00
1 parent 5bc0d4d532
commit 9eb632001c
1 file changed
+3
+3
View File
@@ -362,6 +362,9 @@ void setup()
trc(F("MQTT_MAX_PACKET_SIZE"));
trc(MQTT_MAX_PACKET_SIZE);
#if defined(ESP8266) || defined(ESP32) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)
if(MQTT_MAX_PACKET_SIZE == 128) trc(F("WRONG PUBSUBCLIENT LIBRARY USED PLEASE INSTALL THE ONE FROM OMG LIB FOLDER"));
#endif
trc(F("Setup OpenMQTTGateway end"));
}