forked from Archive/PX4-Autopilot
Fix a UDP build issue
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4654 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
a2432bdb9c
commit
f544d4c1a8
|
@ -2679,4 +2679,6 @@
|
||||||
Rx DMA into a circular buffer (contributed by Mike Smith)
|
Rx DMA into a circular buffer (contributed by Mike Smith)
|
||||||
* configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
|
* configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
|
||||||
PIC32MX7 Multimedia Board (MMB).
|
PIC32MX7 Multimedia Board (MMB).
|
||||||
|
* net/recvfrom.c: Fix a compilation problem. Some UDP logic was conditioned
|
||||||
|
on TCP, not UDP.
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ static inline void recvfrom_newtcpdata(FAR struct uip_driver_s *dev,
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NET_TCP
|
#ifdef CONFIG_NET_UDP
|
||||||
static inline void recvfrom_newudpdata(FAR struct uip_driver_s *dev,
|
static inline void recvfrom_newudpdata(FAR struct uip_driver_s *dev,
|
||||||
FAR struct recvfrom_s *pstate)
|
FAR struct recvfrom_s *pstate)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue