[LoRaWAN] Use ESP_PLATFORM macro to include esp_attr.h (#952)
This commit is contained in:
parent
0ea00fad44
commit
9f0bdffc50
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "LoRaWAN.h"
|
#include "LoRaWAN.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined(ESP8266) || defined(ESP32)
|
#if defined(ESP_PLATFORM)
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "Pager.h"
|
#include "Pager.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#if defined(ESP8266) || defined(ESP32)
|
#if defined(ESP_PLATFORM)
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue