From afa1066b4d7b59591a164db0b7e842d5ef5d9326 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Wed, 8 Feb 2017 11:52:15 -0600 Subject: [PATCH] LPC43: Fix missing #endif --- arch/arm/src/lpc43xx/lpc43_ethernet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lpc43xx/lpc43_ethernet.c b/arch/arm/src/lpc43xx/lpc43_ethernet.c index 6060c9cb2af..f6f666c7ca5 100644 --- a/arch/arm/src/lpc43xx/lpc43_ethernet.c +++ b/arch/arm/src/lpc43xx/lpc43_ethernet.c @@ -1659,7 +1659,7 @@ static void lpc43_receive(FAR struct lpc43_ethmac_s *priv) } } else -#endif +#endif /* CONFIG_NET_IPv4 */ #ifdef CONFIG_NET_IPv6 if (BUF->type == HTONS(ETHTYPE_IP6)) { @@ -1696,7 +1696,7 @@ static void lpc43_receive(FAR struct lpc43_ethmac_s *priv) } } else -#endif +#endif /* CONFIG_NET_IPv6 */ #ifdef CONFIG_NET_ARP if (BUF->type == htons(ETHTYPE_ARP)) { @@ -1978,6 +1978,7 @@ static void lpc43_interrupt_work(FAR void *arg) lpc43_putreg(ETH_DMAINT_AIS, LPC43_ETH_DMASTAT); } +#endif /* CONFIG_DEBUG_NET */ net_unlock();