【修复】ESP8266 获取 DHCP 状态是入参类型错误问题

Signed-off-by: chenyong <chenyong@rt-thread.com>
This commit is contained in:
chenyong 2020-04-22 10:17:34 +08:00
parent 7f03d5880e
commit 75acb37e82
1 changed files with 1 additions and 1 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;