From d5a342a50994ad71aab47425285bc2699ac55dcd Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 16 Jul 2021 13:22:45 +0200 Subject: [PATCH] removed moved code --- stm32h7/networking/app_ethernet.h | 2 -- stm32h7/networking/ethernetif.c | 8 -------- stm32h7/networking/ethernetif.h | 2 -- 3 files changed, 12 deletions(-) diff --git a/stm32h7/networking/app_ethernet.h b/stm32h7/networking/app_ethernet.h index da89593..4701e10 100644 --- a/stm32h7/networking/app_ethernet.h +++ b/stm32h7/networking/app_ethernet.h @@ -63,8 +63,6 @@ void ethernet_link_status_updated(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 } #endif diff --git a/stm32h7/networking/ethernetif.c b/stm32h7/networking/ethernetif.c index 25c0fb4..ab56da2 100644 --- a/stm32h7/networking/ethernetif.c +++ b/stm32h7/networking/ethernetif.c @@ -610,12 +610,4 @@ ETH_HandleTypeDef* getEthernetHandle() { 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****/ diff --git a/stm32h7/networking/ethernetif.h b/stm32h7/networking/ethernetif.h index cc0415a..44a3ceb 100644 --- a/stm32h7/networking/ethernetif.h +++ b/stm32h7/networking/ethernetif.h @@ -58,8 +58,6 @@ extern "C" { #define ETH_RX_BUFFER_SIZE (1536UL) /* Exported types ------------------------------------------------------------*/ -void set_eth_cable_connected(bool status); -bool get_eth_cable_connected(); ETH_HandleTypeDef* getEthernetHandle(); err_t ethernetif_init(struct netif *netif);