!230 fix: ping cmd compile fail

Merge pull request !230 from give-me-five/master
This commit is contained in:
openharmony_ci 2021-07-21 01:39:06 +00:00 committed by Gitee
commit 10f683da91
1 changed files with 1 additions and 4 deletions

View File

@ -47,11 +47,9 @@
#include "lwip/icmp.h" #include "lwip/icmp.h"
#include "los_config.h" #include "los_config.h"
#include <string.h> #include <string.h>
#include "lwip/api_shell.h"
#include "shcmd.h" #include "shcmd.h"
#include "shell.h" #include "shell.h"
#include "los_timer_pri.h"
#include "los_debug.h" #include "los_debug.h"
#include "los_task.h" #include "los_task.h"
@ -317,8 +315,7 @@ static int ping_kill = 0;
static void lwip_ping_usage(void) static void lwip_ping_usage(void)
{ {
PRINTK("Usage:"\ PRINTK("Usage:\n ping [ip]\n");
"\n ping [ip]\n"
} }
LWIP_STATIC int OsPingFunc(u32_t *parg) LWIP_STATIC int OsPingFunc(u32_t *parg)