[Pager] Added missing IRAM_ATTR for ESP platforms
This commit is contained in:
parent
edc04f16bd
commit
b903ddabc6
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
||||||
// 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
|
||||||
static PhysicalLayer* _readBitInstance = NULL;
|
static PhysicalLayer* _readBitInstance = NULL;
|
||||||
static RADIOLIB_PIN_TYPE _readBitPin = RADIOLIB_NC;
|
static RADIOLIB_PIN_TYPE _readBitPin = RADIOLIB_NC;
|
||||||
|
|
||||||
|
#if defined(ESP8266) || defined(ESP32)
|
||||||
|
ICACHE_RAM_ATTR
|
||||||
|
#endif
|
||||||
static void PagerClientReadBit(void) {
|
static void PagerClientReadBit(void) {
|
||||||
if(_readBitInstance) {
|
if(_readBitInstance) {
|
||||||
_readBitInstance->readBit(_readBitPin);
|
_readBitInstance->readBit(_readBitPin);
|
||||||
|
|
Loading…
Add table
Reference in a new issue