mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
LPC43: Fix missing #endif
This commit is contained in:
committed by
Gregory Nutt
parent
1393061400
commit
afa1066b4d
@@ -1659,7 +1659,7 @@ static void lpc43_receive(FAR struct lpc43_ethmac_s *priv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif /* CONFIG_NET_IPv4 */
|
||||||
#ifdef CONFIG_NET_IPv6
|
#ifdef CONFIG_NET_IPv6
|
||||||
if (BUF->type == HTONS(ETHTYPE_IP6))
|
if (BUF->type == HTONS(ETHTYPE_IP6))
|
||||||
{
|
{
|
||||||
@@ -1696,7 +1696,7 @@ static void lpc43_receive(FAR struct lpc43_ethmac_s *priv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif /* CONFIG_NET_IPv6 */
|
||||||
#ifdef CONFIG_NET_ARP
|
#ifdef CONFIG_NET_ARP
|
||||||
if (BUF->type == htons(ETHTYPE_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);
|
lpc43_putreg(ETH_DMAINT_AIS, LPC43_ETH_DMASTAT);
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_DEBUG_NET */
|
||||||
|
|
||||||
net_unlock();
|
net_unlock();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user