Merge pull request #629 from IhorNehrutsa/excludes
Fix RADIOLIB_EXCLUDE_APRS, RADIOLIB_EXCLUDE_PAGER
This commit is contained in:
commit
73752ec88a
2 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include "APRS.h"
|
#include "APRS.h"
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_APRS)
|
||||||
|
|
||||||
APRSClient::APRSClient(AX25Client* ax) {
|
APRSClient::APRSClient(AX25Client* ax) {
|
||||||
_ax = ax;
|
_ax = ax;
|
||||||
|
@ -225,3 +226,5 @@ int16_t APRSClient::sendFrame(char* destCallsign, uint8_t destSSID, char* info)
|
||||||
|
|
||||||
return(_ax->sendFrame(&frameUI));
|
return(_ax->sendFrame(&frameUI));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "Pager.h"
|
#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
|
// 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
|
// 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);
|
return(iResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue