[MQTT] Fixed exclusion macros
This commit is contained in:
parent
e23f095585
commit
55845fe3d7
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_MQTT_H) && !defined(RADIOLIB_EXCLUDE_MQTT)
|
#if !defined(_RADIOLIB_MQTT_H)
|
||||||
#define _RADIOLIB_MQTT_H
|
#define _RADIOLIB_MQTT_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_MQTT)
|
||||||
|
|
||||||
#include "../TransportLayer/TransportLayer.h"
|
#include "../TransportLayer/TransportLayer.h"
|
||||||
|
|
||||||
// MQTT packet types
|
// MQTT packet types
|
||||||
|
@ -140,3 +143,5 @@ class MQTTClient {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue