Skip to content

Commit 6639a95

Browse files
committed
Replace ESP32 ifdef
1 parent 50b244d commit 6639a95

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/AsyncTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "AsyncTCP.h"
55

6-
#ifdef ESP32
6+
#ifndef LIBRETINY
77
#include <esp_log.h>
88

99
#ifdef ARDUINO

src/AsyncTCP.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
#include "AsyncTCPVersion.h"
88
#define ASYNCTCP_FORK_ESP32Async
99

10-
#ifdef ESP32
11-
#include <esp_idf_version.h>
12-
#else
10+
#ifdef LIBRETINY
1311
#define ESP_IDF_VERSION_MAJOR (0)
12+
#else
13+
#include <esp_idf_version.h>
1414
#endif
1515

1616
#ifdef ARDUINO

0 commit comments

Comments
 (0)