Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 9d31552

Browse files
committed
Add missing include for Arduino 3.0.0
1 parent 17a8d44 commit 9d31552

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AsyncWebSocket.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
#else
2929
#include <Hash.h>
3030
#endif
31+
#ifdef ESP32
32+
#if ESP_IDF_VERSION_MAJOR >= 5
33+
#include "rom/ets_sys.h"
34+
#endif
35+
#endif
3136

3237
#define MAX_PRINTF_LEN 64
3338

0 commit comments

Comments
 (0)