[Si443x] Fixed exclusion macros
This commit is contained in:
parent
96f4bd667e
commit
906b0857bd
4 changed files with 24 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SI4430_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
#if !defined(_RADIOLIB_SI4430_H)
|
||||||
#define _RADIOLIB_SI4430_H
|
#define _RADIOLIB_SI4430_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "Si4432.h"
|
#include "Si4432.h"
|
||||||
|
|
||||||
|
@ -72,3 +75,5 @@ class Si4430: public Si4432 {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SI4431_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
#if !defined(_RADIOLIB_SI4431_H)
|
||||||
#define _RADIOLIB_SI4431_H
|
#define _RADIOLIB_SI4431_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "Si4432.h"
|
#include "Si4432.h"
|
||||||
|
|
||||||
|
@ -63,3 +66,5 @@ class Si4431: public Si4432 {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SI4432_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
#if !defined(_RADIOLIB_SI4432_H)
|
||||||
#define _RADIOLIB_SI4432_H
|
#define _RADIOLIB_SI4432_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "Si443x.h"
|
#include "Si443x.h"
|
||||||
|
|
||||||
|
@ -72,3 +75,5 @@ class Si4432: public Si443x {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#if !defined(_RADIOLIB_SI443X_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
#if !defined(_RADIOLIB_SI443X_H)
|
||||||
#define _RADIOLIB_SI443X_H
|
#define _RADIOLIB_SI443X_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
|
|
||||||
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
#include "../../protocols/PhysicalLayer/PhysicalLayer.h"
|
||||||
|
@ -794,3 +797,5 @@ class Si443x: public PhysicalLayer {
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue