[RFM2x] Fixed exclusion macros
This commit is contained in:
parent
ccb3635485
commit
763fed74ff
2 changed files with 12 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_RFM22_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||
#if !defined(_RADIOLIB_RFM22_H)
|
||||
#define _RADIOLIB_RFM22_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_RFM2X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "../Si443x/Si443x.h"
|
||||
#include "../Si443x/Si4432.h"
|
||||
|
@ -14,3 +17,5 @@
|
|||
using RFM22 = Si4432;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#if !defined(_RADIOLIB_RFM23_H) && !defined(RADIOLIB_EXCLUDE_SI443X)
|
||||
#if !defined(_RADIOLIB_RFM23_H)
|
||||
#define _RADIOLIB_RFM23_H
|
||||
|
||||
#include "../../TypeDef.h"
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_RFM2X)
|
||||
|
||||
#include "../../Module.h"
|
||||
#include "../Si443x/Si443x.h"
|
||||
#include "../Si443x/Si4431.h"
|
||||
|
@ -14,3 +17,5 @@
|
|||
using RFM23 = Si4431;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue