Skip to content

Commit

Permalink
[LoRaWAN] Use ESP_PLATFORM macro to include esp_attr.h (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Feb 25, 2024
1 parent 0ea00fa commit 9f0bdff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/protocols/LoRaWAN/LoRaWAN.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "LoRaWAN.h"
#include <string.h>
#if defined(ESP8266) || defined(ESP32)
#if defined(ESP_PLATFORM)
#include "esp_attr.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/protocols/Pager/Pager.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "Pager.h"
#include <string.h>
#include <math.h>
#if defined(ESP8266) || defined(ESP32)
#if defined(ESP_PLATFORM)
#include "esp_attr.h"
#endif

Expand Down

0 comments on commit 9f0bdff

Please sign in to comment.