From b903ddabc6efce2fb0c439c8678f002f6b38ab95 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 22 Oct 2022 23:49:13 +0200 Subject: [PATCH] [Pager] Added missing IRAM_ATTR for ESP platforms --- src/protocols/Pager/Pager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/protocols/Pager/Pager.cpp b/src/protocols/Pager/Pager.cpp index b63f0b6a..59af5d1d 100644 --- a/src/protocols/Pager/Pager.cpp +++ b/src/protocols/Pager/Pager.cpp @@ -4,6 +4,10 @@ // let's hope nobody ever tries running two POCSAG receivers at the same time static PhysicalLayer* _readBitInstance = NULL; static RADIOLIB_PIN_TYPE _readBitPin = RADIOLIB_NC; + +#if defined(ESP8266) || defined(ESP32) + ICACHE_RAM_ATTR +#endif static void PagerClientReadBit(void) { if(_readBitInstance) { _readBitInstance->readBit(_readBitPin);