forked from xuos/xiuos
change udp test command
This commit is contained in:
commit
f98689fc30
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue