From a16223f85075973961b73a89eba0f46d17c1ab39 Mon Sep 17 00:00:00 2001 From: wgzAIIT <820906721@qq.com> Date: Wed, 1 Mar 2023 10:17:01 +0800 Subject: [PATCH] fix compile bug --- .../connection_app/socket_demo/lwip_udp_socket_demo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/APP_Framework/Applications/connection_app/socket_demo/lwip_udp_socket_demo.c b/APP_Framework/Applications/connection_app/socket_demo/lwip_udp_socket_demo.c index 30a8a6a59..b6af89ffe 100755 --- a/APP_Framework/Applications/connection_app/socket_demo/lwip_udp_socket_demo.c +++ b/APP_Framework/Applications/connection_app/socket_demo/lwip_udp_socket_demo.c @@ -142,8 +142,8 @@ void UdpSocketRecvTest(int argc, char *argv[]) #endif #ifdef ADD_NUTTX_FETURES pthread_attr_t attr = PTHREAD_ATTR_INITIALIZER; - attr.priority = LWIP_TCP_DEMO_TASK_PRIO; - attr.stacksize = LWIP_TCP_DEMO_TASK_STACK_SIZE; + attr.priority = LWIP_UDP_DEMO_TASK_PRIO; + attr.stacksize = LWIP_UDP_DEMO_TASK_STACK_SIZE; #endif PrivTaskCreate(&udp_server_task, &attr, &UdpSocketRecvTask, NULL); @@ -208,8 +208,8 @@ void UdpSocketSendTest(int argc, char *argv[]) #endif #ifdef ADD_NUTTX_FETURES pthread_attr_t attr = PTHREAD_ATTR_INITIALIZER; - attr.priority = LWIP_TCP_DEMO_TASK_PRIO; - attr.stacksize = LWIP_TCP_DEMO_TASK_STACK_SIZE; + attr.priority = LWIP_UDP_DEMO_TASK_PRIO; + attr.stacksize = LWIP_UDP_DEMO_TASK_STACK_SIZE; #endif PrivTaskCreate(&udp_client_task, &attr, &UdpSocketSendTask, NULL);