We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0714013 commit f22b097Copy full SHA for f22b097
src/AsyncTCP.cpp
@@ -65,7 +65,7 @@ static bool _start_asyncsock_task(void)
65
"asyncTcpSock",
66
CONFIG_ASYNC_TCP_STACK,
67
NULL,
68
- 3, // <-- TODO: make priority a compile-time parameter
+ CONFIG_ASYNC_TCP_TASK_PRIORITY,
69
&_asyncsock_service_task_handle,
70
CONFIG_ASYNC_TCP_RUNNING_CORE);
71
if (!_asyncsock_service_task_handle) return false;
src/AsyncTCP.h
@@ -47,6 +47,9 @@ extern "C" {
47
#ifndef CONFIG_ASYNC_TCP_STACK
48
#define CONFIG_ASYNC_TCP_STACK 16384 // 8192 * 2
49
#endif
50
+#ifndef CONFIG_ASYNC_TCP_TASK_PRIORITY
51
+#define CONFIG_ASYNC_TCP_TASK_PRIORITY 3
52
+#endif
53
54
class AsyncClient;
55
0 commit comments