[SX126x] Fixed exclusion macros
This commit is contained in:
parent
3aa5adf916
commit
b1fa564cd3
4 changed files with 23 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1261_H) && !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
#if !defined(_RADIOLIB_SX1261_H)
|
||||
#define _RADIOLIB_SX1261_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "SX126x.h"
|
||||
#include "SX1262.h"
|
||||
|
@ -38,5 +41,6 @@ class SX1261 : public SX1262 {
|
|||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1262_H) && !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
#if !defined(_RADIOLIB_SX1262_H)
|
||||
#define _RADIOLIB_SX1262_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "SX126x.h"
|
||||
|
||||
|
@ -103,3 +106,5 @@ class SX1262: public SX126x {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1268_H) && !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
#if !defined(_RADIOLIB_SX1268_H)
|
||||
#define _RADIOLIB_SX1268_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "SX126x.h"
|
||||
|
||||
|
@ -103,3 +106,5 @@ class SX1268: public SX126x {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX126X_H) && !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
#if !defined(_RADIOLIB_SX126X_H)
|
||||
#define _RADIOLIB_SX126X_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX126X)
|
||||
|
||||
#include "../../Module.h"
|
||||
|
||||
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
||||
|
@ -925,3 +928,5 @@ class SX126x: public PhysicalLayer {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue