From ee32b3d82ad93a87c8d0e7413ca9d64212e50a97 Mon Sep 17 00:00:00 2001 From: Ihor Nehrutsa Date: Thu, 1 Dec 2022 17:47:34 +0200 Subject: [PATCH 1/2] Update APRS.cpp --- src/protocols/APRS/APRS.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocols/APRS/APRS.cpp b/src/protocols/APRS/APRS.cpp index 7f4976b0..3d812bc8 100644 --- a/src/protocols/APRS/APRS.cpp +++ b/src/protocols/APRS/APRS.cpp @@ -1,4 +1,5 @@ #include "APRS.h" +#if !defined(RADIOLIB_EXCLUDE_APRS) APRSClient::APRSClient(AX25Client* ax) { _ax = ax; @@ -225,3 +226,5 @@ int16_t APRSClient::sendFrame(char* destCallsign, uint8_t destSSID, char* info) return(_ax->sendFrame(&frameUI)); } + +#endif From 9abb3fd3964ee28000d8fba39c63cb2d6fcba621 Mon Sep 17 00:00:00 2001 From: Ihor Nehrutsa Date: Thu, 1 Dec 2022 17:47:42 +0200 Subject: [PATCH 2/2] Update Pager.cpp --- src/protocols/Pager/Pager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocols/Pager/Pager.cpp b/src/protocols/Pager/Pager.cpp index 144903a2..01fbbe98 100644 --- a/src/protocols/Pager/Pager.cpp +++ b/src/protocols/Pager/Pager.cpp @@ -1,4 +1,5 @@ #include "Pager.h" +#if !defined(RADIOLIB_EXCLUDE_PAGER) // this is a massive hack, but we need a global-scope ISR to manage the bit reading // let's hope nobody ever tries running two POCSAG receivers at the same time @@ -731,3 +732,5 @@ uint32_t PagerClient::encodeBCH(uint32_t dat) { return(iResult); } + +#endif