mirror of
				https://github.com/eledio-devices/thirdparty-AsyncTCPSock.git
				synced 2025-10-31 08:42:38 +01:00 
			
		
		
		
	Make task priority configurable
Add config option 'CONFIG_ASYNC_TCP_TASK_PRIORITY', which defines what the tasks' priority is (defaults to 3). Based on https://github.com/me-no-dev/AsyncTCP/pull/98
This commit is contained in:
		| @@ -65,7 +65,7 @@ static bool _start_asyncsock_task(void) | ||||
|             "asyncTcpSock", | ||||
|             CONFIG_ASYNC_TCP_STACK, | ||||
|             NULL, | ||||
|             3,                              // <-- TODO: make priority a compile-time parameter | ||||
|             CONFIG_ASYNC_TCP_TASK_PRIORITY, | ||||
|             &_asyncsock_service_task_handle, | ||||
|             CONFIG_ASYNC_TCP_RUNNING_CORE); | ||||
|         if (!_asyncsock_service_task_handle) return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user