[SX1231] Fixed exclusion macros
This commit is contained in:
parent
a218cc04f2
commit
3aa5adf916
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#include "SX1231.h"
|
#include "SX1231.h"
|
||||||
#if !defined(RADIOLIB_EXCLUDE_RF69)
|
#if !defined(RADIOLIB_EXCLUDE_SX1231)
|
||||||
|
|
||||||
SX1231::SX1231(Module* mod) : RF69(mod) {
|
SX1231::SX1231(Module* mod) : RF69(mod) {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SX1231_H) && !defined(RADIOLIB_EXCLUDE_RF69)
|
#if !defined(_RADIOLIB_SX1231_H)
|
||||||
#define _RADIOLIB_SX1231_H
|
#define _RADIOLIB_SX1231_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SX1231)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "../RF69/RF69.h"
|
#include "../RF69/RF69.h"
|
||||||
|
|
||||||
|
@ -53,3 +56,5 @@ class SX1231: public RF69 {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue