Merge pull request #629 from IhorNehrutsa/excludes

Fix RADIOLIB_EXCLUDE_APRS, RADIOLIB_EXCLUDE_PAGER
pull/631/head
Jan Gromeš 2022-12-01 18:20:39 +01:00 zatwierdzone przez GitHub
commit 73752ec88a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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