diff options
| author | chenyong <[email protected]> | 2019-07-02 20:11:41 +0800 |
|---|---|---|
| committer | chenyong <[email protected]> | 2019-07-02 20:11:41 +0800 |
| commit | 48857d1e67848fa999ef6454756522fb06f42bcf (patch) | |
| tree | d36c971c44cf70d3d545f8c161dfae8e8042aaac /components/net/netdev/src | |
| parent | 61e4140db2427be1c4fd5d107c1069774fc3c820 (diff) | |
[net][netdev] Add FINSH_USING_MSH control for netdev network commands
Diffstat (limited to 'components/net/netdev/src')
| -rw-r--r-- | components/net/netdev/src/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/netdev/src/netdev.c b/components/net/netdev/src/netdev.c index eb2835364a..2c484f520e 100644 --- a/components/net/netdev/src/netdev.c +++ b/components/net/netdev/src/netdev.c @@ -985,7 +985,7 @@ FINSH_FUNCTION_EXPORT_ALIAS(netdev_ifconfig, __cmd_ifconfig, list the informatio #endif /* NETDEV_USING_IFCONFIG */ #ifdef NETDEV_USING_PING -static int netdev_cmd_ping(char* target_name, rt_uint32_t times, rt_size_t size) +int netdev_cmd_ping(char* target_name, rt_uint32_t times, rt_size_t size) { #define NETDEV_PING_DATA_SIZE 32 /** ping receive timeout - in milliseconds */ |
