Merge pull request #108 from Lawlieta/chenyong

修改日志显示错误,修改 ESP8266 解析 DHCP 状态入参类型错误
This commit is contained in:
ChenYong 2020-04-22 10:19:53 +08:00 committed by GitHub
commit 2241aa3f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ static void esp8266_get_netdev_info(struct rt_work *work, void *work_data)
ip_addr_t ip_addr;
rt_uint32_t mac_addr[6] = {0};
rt_uint32_t num = 0;
rt_uint8_t dhcp_stat = 0;
rt_uint32_t dhcp_stat = 0;
struct rt_delayed_work *delay_work = (struct rt_delayed_work *)work;
struct at_device *device = (struct at_device *)work_data;
struct netdev *netdev = device->netdev;

View File

@ -529,7 +529,7 @@ static void sim76xx_init_thread_entry(void *parameter)
at_obj_exec_cmd(client, resp, "AT+CPIN?");
if (at_resp_get_line_by_kw(resp, "READY"))
{
LOG_D("%s device SIM card detection failed.", device->name);
LOG_D("%s device SIM card detection success.", device->name);
break;
}
LOG_I("\"AT+CPIN\" commands send retry...");