diff --git a/src/modules/SX1231/SX1231.cpp b/src/modules/SX1231/SX1231.cpp index cc9e3409..7cce2cce 100644 --- a/src/modules/SX1231/SX1231.cpp +++ b/src/modules/SX1231/SX1231.cpp @@ -1,5 +1,5 @@ #include "SX1231.h" -#if !defined(RADIOLIB_EXCLUDE_SX1231) +#if !RADIOLIB_EXCLUDE_SX1231 SX1231::SX1231(Module* mod) : RF69(mod) { diff --git a/src/modules/SX1231/SX1231.h b/src/modules/SX1231/SX1231.h index 60540345..e9631a87 100644 --- a/src/modules/SX1231/SX1231.h +++ b/src/modules/SX1231/SX1231.h @@ -3,7 +3,7 @@ #include "../../TypeDef.h" -#if !defined(RADIOLIB_EXCLUDE_SX1231) +#if !RADIOLIB_EXCLUDE_SX1231 #include "../../Module.h" #include "../RF69/RF69.h" @@ -110,7 +110,7 @@ class SX1231: public RF69 { */ int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint8_t preambleLen = 16); -#if !defined(RADIOLIB_GODMODE) +#if !RADIOLIB_GODMODE private: #endif uint8_t chipRevision = 0;