removed moved code

This commit is contained in:
Robin Müller 2021-07-16 13:22:45 +02:00
parent c548d3b507
commit d5a342a509
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
3 changed files with 0 additions and 12 deletions

View File

@ -63,8 +63,6 @@
void ethernet_link_status_updated(struct netif *netif); void ethernet_link_status_updated(struct netif *netif);
void ethernet_link_periodic_handle(struct netif *netif); void ethernet_link_periodic_handle(struct netif *netif);
void set_lwip_addresses(ip_addr_t* ipaddr, ip_addr_t* netmask, ip_addr_t* gw);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -610,12 +610,4 @@ ETH_HandleTypeDef* getEthernetHandle() {
return &EthHandle; return &EthHandle;
} }
void set_eth_cable_connected(bool status) {
ethernet_cable_connected = status;
}
bool get_eth_cable_connected() {
return ethernet_cable_connected;
}
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@ -58,8 +58,6 @@ extern "C" {
#define ETH_RX_BUFFER_SIZE (1536UL) #define ETH_RX_BUFFER_SIZE (1536UL)
/* Exported types ------------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/
void set_eth_cable_connected(bool status);
bool get_eth_cable_connected();
ETH_HandleTypeDef* getEthernetHandle(); ETH_HandleTypeDef* getEthernetHandle();
err_t ethernetif_init(struct netif *netif); err_t ethernetif_init(struct netif *netif);