[LoRaWAN] Use ESP_PLATFORM macro to include esp_attr.h (#952)

This commit is contained in:
jgromes 2024-02-25 18:02:31 +01:00
parent 0ea00fad44
commit 9f0bdffc50
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#include "LoRaWAN.h"
#include <string.h>
#if defined(ESP8266) || defined(ESP32)
#if defined(ESP_PLATFORM)
#include "esp_attr.h"
#endif

View file

@ -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