more refactoring
This commit is contained in:
@ -44,8 +44,8 @@
|
||||
*/
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __APP_ETHERNET_H
|
||||
#define __APP_ETHERNET_H
|
||||
#ifndef EXAMPLE_COMMON_APP_ETHERNET_H
|
||||
#define EXAMPLE_COMMON_APP_ETHERNET_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -53,21 +53,25 @@
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include <lwip/netif.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
|
||||
/* Exported macro ------------------------------------------------------------*/
|
||||
/* Exported functions ------------------------------------------------------- */
|
||||
void ethernet_link_status_updated(struct netif *netif);
|
||||
void ethernet_link_periodic_handle(struct netif *netif);
|
||||
namespace networking {
|
||||
|
||||
void ethernetLinkStatusUpdated(struct netif *netif);
|
||||
void ethernetLinkPeriodicHandle(struct netif *netif);
|
||||
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __APP_ETHERNET_H */
|
||||
#endif /* EXAMPLE_COMMON_APP_ETHERNET_H */
|
||||
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
Reference in New Issue
Block a user