[SX127x] Fixed exclusion macros
This commit is contained in:
parent
b1fa564cd3
commit
368c646ad5
7 changed files with 42 additions and 7 deletions
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1272_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1272_H)
|
||||
#define _RADIOLIB_SX1272_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "SX127x.h"
|
||||
|
||||
|
@ -271,3 +274,5 @@ class SX1272: public SX127x {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1273_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1273_H)
|
||||
#define _RADIOLIB_SX1273_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "SX1272.h"
|
||||
|
||||
/*!
|
||||
|
@ -69,3 +72,5 @@ class SX1273: public SX1272 {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1276_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1276_H)
|
||||
#define _RADIOLIB_SX1276_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "SX1278.h"
|
||||
|
||||
/*!
|
||||
|
@ -69,3 +72,5 @@ class SX1276: public SX1278 {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1277_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1277_H)
|
||||
#define _RADIOLIB_SX1277_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "SX1278.h"
|
||||
|
||||
/*!
|
||||
|
@ -78,3 +81,5 @@ class SX1277: public SX1278 {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1278_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1278_H)
|
||||
#define _RADIOLIB_SX1278_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "SX127x.h"
|
||||
|
||||
|
@ -280,3 +283,5 @@ class SX1278: public SX127x {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX1279_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX1279_H)
|
||||
#define _RADIOLIB_SX1279_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "SX1278.h"
|
||||
|
||||
/*!
|
||||
|
@ -69,3 +72,5 @@ class SX1279: public SX1278 {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_SX127X_H) && !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
#if !defined(_RADIOLIB_SX127X_H)
|
||||
#define _RADIOLIB_SX127X_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_SX127X)
|
||||
|
||||
#include "../../Module.h"
|
||||
|
||||
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
||||
|
@ -967,3 +970,5 @@ class SX127x: public PhysicalLayer {
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue