Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Mozi
rt-thread
提交
88a02d7b
R
rt-thread
项目概览
Mozi
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
88a02d7b
编写于
5月 09, 2020
作者:
L
luhuadong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed some typos
上级
6fb98243
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
4 deletion
+4
-4
components/net/at/at_socket/at_socket.c
components/net/at/at_socket/at_socket.c
+1
-1
components/net/netdev/src/netdev.c
components/net/netdev/src/netdev.c
+1
-1
components/net/sal_socket/src/sal_socket.c
components/net/sal_socket/src/sal_socket.c
+2
-2
未找到文件。
components/net/at/at_socket/at_socket.c
浏览文件 @
88a02d7b
...
...
@@ -744,7 +744,7 @@ int at_recvfrom(int socket, void *mem, size_t len, int flags, struct sockaddr *f
goto
__exit
;
}
/* if the socket type is UDP, ne
a
d to connect socket first */
/* if the socket type is UDP, ne
e
d to connect socket first */
if
(
from
&&
sock
->
type
==
AT_SOCKET_UDP
&&
sock
->
state
==
AT_SOCKET_OPEN
)
{
ip_addr_t
remote_addr
;
...
...
components/net/netdev/src/netdev.c
浏览文件 @
88a02d7b
...
...
@@ -1087,7 +1087,7 @@ int netdev_cmd_ping(char* target_name, rt_uint32_t times, rt_size_t size)
}
}
/* if the response time is more than NETDEV_PING_DELAY, no ne
a
d to delay */
/* if the response time is more than NETDEV_PING_DELAY, no ne
e
d to delay */
delay_tick
=
((
rt_tick_get
()
-
start_tick
)
>
NETDEV_PING_DELAY
)
||
(
index
==
times
)
?
0
:
NETDEV_PING_DELAY
;
rt_thread_delay
(
delay_tick
);
}
...
...
components/net/sal_socket/src/sal_socket.c
浏览文件 @
88a02d7b
...
...
@@ -679,7 +679,7 @@ int sal_shutdown(int socket, int how)
/* get the socket object by socket descriptor */
SAL_SOCKET_OBJ_GET
(
sock
,
socket
);
/* shutdown operation not ne
a
d to check network interface status */
/* shutdown operation not ne
e
d to check network interface status */
/* check the network interface socket opreation */
SAL_NETDEV_SOCKETOPS_VALID
(
sock
->
netdev
,
pf
,
shutdown
);
...
...
@@ -970,7 +970,7 @@ int sal_closesocket(int socket)
/* get the socket object by socket descriptor */
SAL_SOCKET_OBJ_GET
(
sock
,
socket
);
/* clsoesocket operation not ne
a
d to vaild network interface status */
/* clsoesocket operation not ne
e
d to vaild network interface status */
/* valid the network interface socket opreation */
SAL_NETDEV_SOCKETOPS_VALID
(
sock
->
netdev
,
pf
,
socket
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录