change udp test command

This commit is contained in:
wlyu 2021-12-22 13:46:19 +08:00
commit f98689fc30
1 changed files with 7 additions and 10 deletions

View File

@ -52,18 +52,15 @@ int UdpEchoSocketDemo(int argc, char *argv[])
return -1;
}
}
#ifndef SEPARATE_COMPILE
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN),
UdpEchoSocketDemo, UdpEchoSocketDemo, tcp_echo_socket function );
UdpTest, UdpEchoSocketDemo, UDP socket demo function);
#endif
static void NetStackTaskCreate(void* param)
{
TcpIpInit();
UdpEchoInit();
}