From 509b8204f1281c32add627763b0c13a6dfbb0f3b Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 27 Nov 2023 19:39:35 +0100 Subject: [PATCH] [LLCC68] Reworked macro configuration system --- src/modules/LLCC68/LLCC68.cpp | 2 +- src/modules/LLCC68/LLCC68.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/LLCC68/LLCC68.cpp b/src/modules/LLCC68/LLCC68.cpp index 03483584..30c12ec8 100644 --- a/src/modules/LLCC68/LLCC68.cpp +++ b/src/modules/LLCC68/LLCC68.cpp @@ -1,5 +1,5 @@ #include "LLCC68.h" -#if !defined(RADIOLIB_EXCLUDE_SX126X) +#if !RADIOLIB_EXCLUDE_SX126X LLCC68::LLCC68(Module* mod) : SX1262(mod) { chipType = RADIOLIB_LLCC68_CHIP_TYPE; diff --git a/src/modules/LLCC68/LLCC68.h b/src/modules/LLCC68/LLCC68.h index 1cec96f1..0ed55902 100644 --- a/src/modules/LLCC68/LLCC68.h +++ b/src/modules/LLCC68/LLCC68.h @@ -3,7 +3,7 @@ #include "../../TypeDef.h" -#if !defined(RADIOLIB_EXCLUDE_SX126X) +#if !RADIOLIB_EXCLUDE_SX126X #include "../../Module.h" #include "../SX126x/SX1262.h" @@ -56,7 +56,7 @@ class LLCC68: public SX1262 { */ int16_t setSpreadingFactor(uint8_t sf); -#if !defined(RADIOLIB_GODMODE) +#if !RADIOLIB_GODMODE private: #endif