Add CONFIG_ASYNC_TCP_QUEUE_SIZE

This commit is contained in:
Mathieu Carbou committed 2024-04-27 01:17:55 +02:00
1 parent 0227108fc4
commit de284cc5cc
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ static uint32_t _closed_index = []() {
static inline bool _init_async_event_queue(){
if(!_async_queue){
_async_queue = xQueueCreate(32, sizeof(lwip_event_packet_t *));
_async_queue = xQueueCreate(CONFIG_ASYNC_TCP_QUEUE_SIZE, sizeof(lwip_event_packet_t *));
if(!_async_queue){
return false;
}