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

Commit 850a531

Browse files
committed
Added CONFIG_ASYNC_TCP_TASK_NAME
1 parent e887e74 commit 850a531

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/AsyncTCP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static bool _start_asyncsock_task(void)
6262
log_i("Creating asyncTcpSock task running in core %d (-1 for any available core)...", CONFIG_ASYNC_TCP_RUNNING_CORE);
6363
xTaskCreateUniversal(
6464
_asynctcpsock_task,
65-
"asyncTcpSock",
65+
CONFIG_ASYNC_TCP_TASK_NAME,
6666
CONFIG_ASYNC_TCP_STACK,
6767
NULL,
6868
CONFIG_ASYNC_TCP_TASK_PRIORITY,

src/AsyncTCP.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ extern "C" {
6262
#ifndef CONFIG_ASYNC_TCP_TASK_PRIORITY
6363
#define CONFIG_ASYNC_TCP_TASK_PRIORITY CONFIG_ASYNC_TCP_PRIORITY
6464
#endif
65+
#ifndef CONFIG_ASYNC_TCP_TASK_NAME
66+
#define CONFIG_ASYNC_TCP_TASK_NAME "asyncTcpSock"
67+
#endif
6568

6669
class AsyncClient;
6770

0 commit comments

Comments
 (0)