mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Migrate from astyle to clang-format (#8464)
This commit is contained in:
committed by
Max Prokhorov
parent
46190b61f1
commit
19b7a29720
@ -7,58 +7,54 @@ esp8266::AddressListImplementation::AddressList addrList;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
extern netif netif0;
|
||||
|
||||
extern netif netif0;
|
||||
netif* netif_list = &netif0;
|
||||
|
||||
netif* netif_list = &netif0;
|
||||
err_t dhcp_renew(struct netif* netif)
|
||||
{
|
||||
(void)netif;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
err_t dhcp_renew(struct netif *netif)
|
||||
{
|
||||
(void)netif;
|
||||
return ERR_OK;
|
||||
}
|
||||
void sntp_setserver(u8_t, const ip_addr_t) { }
|
||||
|
||||
void sntp_setserver(u8_t, const ip_addr_t)
|
||||
{
|
||||
}
|
||||
const ip_addr_t* sntp_getserver(u8_t)
|
||||
{
|
||||
return IP_ADDR_ANY;
|
||||
}
|
||||
|
||||
const ip_addr_t* sntp_getserver(u8_t)
|
||||
{
|
||||
return IP_ADDR_ANY;
|
||||
}
|
||||
err_t etharp_request(struct netif* netif, const ip4_addr_t* ipaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)ipaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
err_t etharp_request(struct netif *netif, const ip4_addr_t *ipaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)ipaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
err_t igmp_start(struct netif* netif)
|
||||
{
|
||||
(void)netif;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
err_t igmp_start(struct netif* netif)
|
||||
{
|
||||
(void)netif;
|
||||
return ERR_OK;
|
||||
}
|
||||
err_t igmp_joingroup_netif(struct netif* netif, const ip4_addr_t* groupaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)groupaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
err_t igmp_joingroup_netif(struct netif *netif, const ip4_addr_t *groupaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)groupaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
err_t igmp_leavegroup_netif(struct netif* netif, const ip4_addr_t* groupaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)groupaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
err_t igmp_leavegroup_netif(struct netif *netif, const ip4_addr_t *groupaddr)
|
||||
{
|
||||
(void)netif;
|
||||
(void)groupaddr;
|
||||
return ERR_OK;
|
||||
}
|
||||
struct netif* netif_get_by_index(u8_t idx)
|
||||
{
|
||||
(void)idx;
|
||||
return &netif0;
|
||||
}
|
||||
|
||||
struct netif* netif_get_by_index(u8_t idx)
|
||||
{
|
||||
(void)idx;
|
||||
return &netif0;
|
||||
}
|
||||
|
||||
|
||||
} // extern "C"
|
||||
} // extern "C"
|
||||
|
Reference in New Issue
Block a user