Merge pull request #4 from chenyong111/master

【完善】编译警告处理
This commit is contained in:
朱天龙 (Armink) 2018-07-11 13:06:53 +08:00 committed by GitHub
commit 33cac8f7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ static int at_socket_event_send(uint32_t event)
static int at_socket_event_recv(uint32_t event, uint32_t timeout, rt_uint8_t option)
{
int result = 0;
uint32_t recved;
rt_uint32_t recved;
result = rt_event_recv(at_socket_event, event, option | RT_EVENT_FLAG_CLEAR, timeout, &recved);
if (result != RT_EOK)

View File

@ -62,7 +62,7 @@ static int at_socket_event_send(uint32_t event)
static int at_socket_event_recv(uint32_t event, uint32_t timeout, rt_uint8_t option)
{
int result = 0;
uint32_t recved;
rt_uint32_t recved;
result = rt_event_recv(at_socket_event, event, option | RT_EVENT_FLAG_CLEAR, timeout, &recved);
if (result != RT_EOK)