Skip to content

Commit

Permalink
include esp_attr.h where IRAM_ATTR is used (#952)
Browse files Browse the repository at this point in the history
* Update LoRaWAN.cpp

* Update Pager.cpp
  • Loading branch information
remenyo authored Feb 2, 2024
1 parent bce1402 commit 7945ffb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/protocols/LoRaWAN/LoRaWAN.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "LoRaWAN.h"
#include <string.h>
#if defined(ESP8266) || defined(ESP32)
#include "esp_attr.h"
#endif

#if !RADIOLIB_EXCLUDE_LORAWAN

Expand Down
4 changes: 4 additions & 0 deletions src/protocols/Pager/Pager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#include "Pager.h"
#include <string.h>
#include <math.h>
#if defined(ESP8266) || defined(ESP32)
#include "esp_attr.h"
#endif

#if !RADIOLIB_EXCLUDE_PAGER

#if !RADIOLIB_EXCLUDE_DIRECT_RECEIVE
Expand Down

0 comments on commit 7945ffb

Please sign in to comment.