Fix a UDP build issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4654 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c649e981d3
commit
f1e682bfbe
@ -2679,4 +2679,6 @@
|
||||
Rx DMA into a circular buffer (contributed by Mike Smith)
|
||||
* configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
|
||||
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,
|
||||
FAR struct recvfrom_s *pstate)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user