[MQTT] Fixed exclusion macros

This commit is contained in:
jgromes 2020-07-04 21:19:10 +02:00
parent e23f095585
commit 55845fe3d7

View file

@ -1,7 +1,10 @@
#if !defined(_RADIOLIB_MQTT_H) && !defined(RADIOLIB_EXCLUDE_MQTT)
#if !defined(_RADIOLIB_MQTT_H)
#define _RADIOLIB_MQTT_H
#include "../../TypeDef.h"
#if !defined(RADIOLIB_EXCLUDE_MQTT)
#include "../TransportLayer/TransportLayer.h"
// MQTT packet types
@ -140,3 +143,5 @@ class MQTTClient {
};
#endif
#endif