Skip to content

Commit 4a54713

Browse files
committed
Fix backport of <MacAddress.h>
1 parent 72cb58c commit 4a54713

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/MycilaESPConnect.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
#include <esp_mac.h>
2828
#endif
2929

30-
#ifdef ESP8266
31-
#include "./esp8266/MacAddress.h"
32-
#else
30+
#if __has_include(<MacAddress.h>)
3331
#include <MacAddress.h>
32+
#else
33+
#include "./backport/MacAddress.h"
3434
#endif
3535

3636
#include <Preferences.h>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)