V1
Fork of lwip-eth by
Diff: arch/lpc17_emac.h
- Revision:
- 3:dd8b8f5b449a
- Parent:
- 0:f4db29eb9e47
- Child:
- 4:d827a085afd9
--- a/arch/lpc17_emac.h Fri Jun 22 11:57:39 2012 +0000 +++ b/arch/lpc17_emac.h Mon Jul 23 11:52:41 2012 +0000 @@ -21,31 +21,31 @@ * notification. NXP Semiconductors also make no representation or * warranty that such application will be suitable for the specified * use without further testing or modification. -**********************************************************************/ - -#ifndef __LPC17_EMAC_H -#define __LPC17_EMAC_H - +**********************************************************************/ + +#ifndef __LPC17_EMAC_H +#define __LPC17_EMAC_H + #include "lwip/opt.h" -#include "lwip/netif.h" +#include "lwip/netif.h" #ifdef __cplusplus extern "C" { -#endif +#endif /* These functions are only visible when not using an RTOS */ #if NO_SYS == 1 -void lpc_enetif_input(struct netif *netif); +void lpc_enetif_input(struct netif *netif); s32_t lpc_tx_ready(struct netif *netif); -s32_t lpc_rx_queue(struct netif *netif); -void lpc_tx_reclaim(struct netif *netif); +s32_t lpc_rx_queue(struct netif *netif); +void lpc_tx_reclaim(struct netif *netif); #endif err_t lpc_enetif_init(struct netif *netif); #ifdef __cplusplus } -#endif +#endif -#endif /* __LPC17_EMAC_H */ +#endif /* __LPC17_EMAC_H */