[SX128x] Fixed exclusion macros
This commit is contained in:
parent
368c646ad5
commit
96f4bd667e
4 changed files with 24 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SX1280_H) && !defined(RADIOLIB_EXCLUDE_SX128X)
|
#if !defined(_RADIOLIB_SX1280_H)
|
||||||
#define _RADIOLIB_SX1280_H
|
#define _RADIOLIB_SX1280_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SX128X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "SX128x.h"
|
#include "SX128x.h"
|
||||||
#include "SX1281.h"
|
#include "SX1281.h"
|
||||||
|
@ -56,3 +59,5 @@ class SX1280: public SX1281 {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SX1281_H) && !defined(RADIOLIB_EXCLUDE_SX128X)
|
#if !defined(_RADIOLIB_SX1281_H)
|
||||||
#define _RADIOLIB_SX1281_H
|
#define _RADIOLIB_SX1281_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SX128X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "SX128x.h"
|
#include "SX128x.h"
|
||||||
|
|
||||||
|
@ -26,3 +29,5 @@ class SX1281: public SX128x {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SX1282_H) && !defined(RADIOLIB_EXCLUDE_SX128X)
|
#if !defined(_RADIOLIB_SX1282_H)
|
||||||
#define _RADIOLIB_SX1282_H
|
#define _RADIOLIB_SX1282_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SX128X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "SX128x.h"
|
#include "SX128x.h"
|
||||||
#include "SX1280.h"
|
#include "SX1280.h"
|
||||||
|
@ -29,3 +32,5 @@ class SX1282: public SX1280 {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SX128X_H) && !defined(RADIOLIB_EXCLUDE_SX128X)
|
#if !defined(_RADIOLIB_SX128X_H)
|
||||||
#define _RADIOLIB_SX128X_H
|
#define _RADIOLIB_SX128X_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SX128X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
|
|
||||||
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
||||||
|
@ -815,3 +818,5 @@ class SX128x: public PhysicalLayer {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue