[SX1231] Reworked driver exclusion
This commit is contained in:
parent
04ea05c7ec
commit
893d8a905f
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include "SX1231.h"
|
#include "SX1231.h"
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_RF69)
|
||||||
|
|
||||||
SX1231::SX1231(Module* mod) : RF69(mod) {
|
SX1231::SX1231(Module* mod) : RF69(mod) {
|
||||||
|
|
||||||
|
@ -92,3 +93,5 @@ int16_t SX1231::begin(float freq, float br, float rxBw, float freqDev, int8_t po
|
||||||
|
|
||||||
return(ERR_NONE);
|
return(ERR_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef _RADIOLIB_SX1231_H
|
#if !defined(_RADIOLIB_SX1231_H) && !defined(RADIOLIB_EXCLUDE_RF69)
|
||||||
#define _RADIOLIB_SX1231_H
|
#define _RADIOLIB_SX1231_H
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue