From f85abafe19c1f057d13c4ccdd6c2edb93044d97d Mon Sep 17 00:00:00 2001 From: jgromes Date: Mon, 27 Nov 2023 21:16:43 +0100 Subject: [PATCH] [Bell] Reworked macro configuration system --- src/protocols/BellModem/BellModem.cpp | 2 +- src/protocols/BellModem/BellModem.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protocols/BellModem/BellModem.cpp b/src/protocols/BellModem/BellModem.cpp index 087bde17..8d08943e 100644 --- a/src/protocols/BellModem/BellModem.cpp +++ b/src/protocols/BellModem/BellModem.cpp @@ -1,5 +1,5 @@ #include "BellModem.h" -#if !defined(RADIOLIB_EXCLUDE_BELL) +#if !RADIOLIB_EXCLUDE_BELL const struct BellModem_t Bell101 { .freqMark = 1270, diff --git a/src/protocols/BellModem/BellModem.h b/src/protocols/BellModem/BellModem.h index 13ab7106..b98479e4 100644 --- a/src/protocols/BellModem/BellModem.h +++ b/src/protocols/BellModem/BellModem.h @@ -7,7 +7,7 @@ #include "../../ArduinoHal.h" #endif -#if !defined(RADIOLIB_EXCLUDE_BELL) +#if !RADIOLIB_EXCLUDE_BELL #include "../PhysicalLayer/PhysicalLayer.h" #include "../AFSK/AFSK.h" @@ -116,7 +116,7 @@ class BellClient: public AFSKClient, public RadioLibPrint { */ int16_t standby(); -#if !defined(RADIOLIB_GODMODE) +#if !RADIOLIB_GODMODE private: #endif BellModem_t modemType;